mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 20:21:38 +08:00
26 lines
854 B
Diff
26 lines
854 B
Diff
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index 0b8959a..55e6a5f 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -826,10 +826,16 @@ endif()
|
||
|
install(FILES include/jemalloc/jemalloc${install_suffix}.h
|
||
|
DESTINATION include/jemalloc)
|
||
|
|
||
|
-install(TARGETS ${LIBJEMALLOCSO}
|
||
|
- RUNTIME DESTINATION bin
|
||
|
- LIBRARY DESTINATION lib
|
||
|
- ARCHIVE DESTINATION lib)
|
||
|
+if (without-export)
|
||
|
+ install(TARGETS ${C_JETLIB}
|
||
|
+ LIBRARY DESTINATION lib
|
||
|
+ ARCHIVE DESTINATION lib)
|
||
|
+else()
|
||
|
+ install(TARGETS ${LIBJEMALLOCSO}
|
||
|
+ RUNTIME DESTINATION bin
|
||
|
+ LIBRARY DESTINATION lib
|
||
|
+ ARCHIVE DESTINATION lib)
|
||
|
+endif()
|
||
|
if (build-tests)
|
||
|
##################################################################
|
||
|
# Common source for Unit, Integration and stress test libraries
|