summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorakarin <i@akarin.info>2021-12-26 18:17:53 +0900
committerakarin <i@akarin.info>2021-12-26 18:17:53 +0900
commit3d91c0e73717a8da64c4edbf08066e2d7cd506eb (patch)
treead48866ec4cf1cae3f5e49d922c79edaaa241992 /CMakeLists.txt
parent03ba2620e3aa0330c0d223dd6156838048b3d489 (diff)
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>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 87f4cdd..93686ce 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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