mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 19:38:41 +03:00
cmake: add pkg-config file
pkg-config allows using the library in build systems that are not cmake, by exporting the same information from the cmake -config files in a buildsystem-neutral format. Fixes #16
This commit is contained in:
parent
eb29d6b06f
commit
eb97236652
3 changed files with 48 additions and 1 deletions
11
mimalloc.pc.in
Normal file
11
mimalloc.pc.in
Normal file
|
@ -0,0 +1,11 @@
|
|||
prefix=@CMAKE_INSTALL_PREFIX@
|
||||
libdir=@libdir_for_pc_file@
|
||||
includedir=@includedir_for_pc_file@
|
||||
|
||||
Name: @PROJECT_NAME@
|
||||
Description: a compact general purpose allocator with excellent performance
|
||||
Version: @PROJECT_VERSION@
|
||||
URL: https://github.com/microsoft/mimalloc/
|
||||
Libs: -L${libdir} -lmimalloc
|
||||
Libs.private: @pc_libraries@
|
||||
Cflags: -I${includedir}
|
Loading…
Add table
Add a link
Reference in a new issue