mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 18:29:11 +08:00
16 lines
606 B
Diff
16 lines
606 B
Diff
diff --git a/blosc/CMakeLists.txt b/blosc/CMakeLists.txt
|
|
index cd163f4..8cb1bdb 100644
|
|
--- a/blosc/CMakeLists.txt
|
|
+++ b/blosc/CMakeLists.txt
|
|
@@ -211,7 +211,9 @@ endif(BUILD_STATIC)
|
|
# install
|
|
if(BLOSC_INSTALL)
|
|
install(FILES blosc.h blosc-export.h DESTINATION include COMPONENT DEV)
|
|
- install(TARGETS blosc_shared DESTINATION ${lib_dir} COMPONENT LIB)
|
|
+ if(BUILD_SHARED)
|
|
+ install(TARGETS blosc_shared DESTINATION ${lib_dir} COMPONENT LIB)
|
|
+ endif(BUILD_SHARED)
|
|
if(BUILD_STATIC)
|
|
install(TARGETS blosc_static DESTINATION ${lib_dir} COMPONENT DEV)
|
|
endif(BUILD_STATIC)
|