From 3d91c0e73717a8da64c4edbf08066e2d7cd506eb Mon Sep 17 00:00:00 2001 From: akarin Date: Sun, 26 Dec 2021 18:17:53 +0900 Subject: [PATCH] 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 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 87f4cddd..93686cef 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