mirror of
https://github.com/microsoft/mimalloc.git
synced 2024-12-26 21:04:27 +08: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
@ -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…
x
Reference in New Issue
Block a user