Advertisement
Guest User

Untitled

a guest
Jan 20th, 2020
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. diff --git a/build_files/build_environment/cmake/blosc.cmake b/build_files/build_environment/cmake/blosc.cmake
  2. index 221fa9d58bf..0a8e13746c8 100644
  3. --- a/build_files/build_environment/cmake/blosc.cmake
  4. +++ b/build_files/build_environment/cmake/blosc.cmake
  5. @@ -29,13 +29,11 @@ set(BLOSC_EXTRA_ARGS
  6. -DCMAKE_POSITION_INDEPENDENT_CODE=ON
  7. )
  8.  
  9. -if(WIN32)
  10. - # Prevent blosc from including it's own local copy of zlib in the object file
  11. - # and cause linker errors with everybody else.
  12. - set(BLOSC_EXTRA_ARGS ${BLOSC_EXTRA_ARGS}
  13. - -DPREFER_EXTERNAL_ZLIB=ON
  14. - )
  15. -endif()
  16. +# Prevent blosc from including it's own local copy of zlib in the object file
  17. +# and cause linker errors with everybody else.
  18. +set(BLOSC_EXTRA_ARGS ${BLOSC_EXTRA_ARGS}
  19. + -DPREFER_EXTERNAL_ZLIB=ON
  20. +)
  21.  
  22. ExternalProject_Add(external_blosc
  23. URL ${BLOSC_URI}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement