mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-05 06:59:32 +03:00
cmake: export mimalloc-static as well
Otherwise a static only build would not be usable as cmake package (as mimalloc.cmake wouldn't be generated). Signed-off-by: akarin <i@akarin.info>
This commit is contained in:
parent
03ba2620e3
commit
3d91c0e737
1 changed files with 1 additions and 0 deletions
|
@ -330,6 +330,7 @@ if (MI_BUILD_STATIC)
|
|||
endif()
|
||||
|
||||
install(TARGETS mimalloc-static EXPORT mimalloc DESTINATION ${mi_install_libdir} LIBRARY)
|
||||
install(EXPORT mimalloc DESTINATION ${mi_install_cmakedir})
|
||||
endif()
|
||||
|
||||
# install include files
|
||||
|
|
Loading…
Add table
Reference in a new issue