diff options
Diffstat (limited to 'build_files/build_environment/cmake/blosc.cmake')
-rw-r--r-- | build_files/build_environment/cmake/blosc.cmake | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/build_files/build_environment/cmake/blosc.cmake b/build_files/build_environment/cmake/blosc.cmake index 221fa9d58bf..0a8e13746c8 100644 --- a/build_files/build_environment/cmake/blosc.cmake +++ b/build_files/build_environment/cmake/blosc.cmake @@ -29,13 +29,11 @@ set(BLOSC_EXTRA_ARGS -DCMAKE_POSITION_INDEPENDENT_CODE=ON ) -if(WIN32) - # Prevent blosc from including it's own local copy of zlib in the object file - # and cause linker errors with everybody else. - set(BLOSC_EXTRA_ARGS ${BLOSC_EXTRA_ARGS} - -DPREFER_EXTERNAL_ZLIB=ON - ) -endif() +# Prevent blosc from including it's own local copy of zlib in the object file +# and cause linker errors with everybody else. +set(BLOSC_EXTRA_ARGS ${BLOSC_EXTRA_ARGS} + -DPREFER_EXTERNAL_ZLIB=ON +) ExternalProject_Add(external_blosc URL ${BLOSC_URI} |