Skip to content

Commit

Permalink
do not use static hdf5 on conda-build
Browse files Browse the repository at this point in the history
  • Loading branch information
theAeon committed May 22, 2024
1 parent a2a92cd commit 94e1fee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ set(HIGHFIVE_BUILD_DOCS OFF CACHE INTERNAL BOOL)
set(HIGHFIVE_USE_BOOST OFF CACHE INTERNAL BOOL)
set(HIGHFIVE_UNIT_TESTS OFF CACHE INTERNAL BOOL)
set(HIGHFIVE_HAS_CONCEPTS OFF CACHE INTERNAL BOOL)
if(WIN32 OR APPLE)
if((WIN32 OR APPLE) AND NOT DEFINED ENV{CONDA_BUILD})
set(HDF5_USE_STATIC_LIBRARIES ON CACHE INTERNAL BOOL)
set(HIGHFIVE_STATIC_HDF5 ON CACHE INTERNAL BOOL)
endif()
Expand Down

0 comments on commit 94e1fee

Please sign in to comment.