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:
akarin 2021-12-26 18:17:53 +09:00
parent 03ba2620e3
commit 3d91c0e737

View File

@ -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