diff options
| author | kypp <kyp108@gmail.com> | 2017-11-06 09:56:24 +0100 |
|---|---|---|
| committer | Alexander Karatarakis <alex@karatarakis.com> | 2017-11-07 01:49:27 -0800 |
| commit | 9d2f9739ae42425b25a685f04570590371b6e9bf (patch) | |
| tree | c2d65a70bb16eb0ae756939127a8000beed7cb1b /ports/blosc/static-install-fix.patch | |
| parent | e2b2f49dc6a90d9ff0a3e6dad2d67ab3ed800e0a (diff) | |
| download | vcpkg-9d2f9739ae42425b25a685f04570590371b6e9bf.tar.gz vcpkg-9d2f9739ae42425b25a685f04570590371b6e9bf.zip | |
new port: blosc
Diffstat (limited to 'ports/blosc/static-install-fix.patch')
| -rw-r--r-- | ports/blosc/static-install-fix.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ports/blosc/static-install-fix.patch b/ports/blosc/static-install-fix.patch new file mode 100644 index 000000000..3416bde57 --- /dev/null +++ b/ports/blosc/static-install-fix.patch @@ -0,0 +1,15 @@ +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) |
