diff --git a/CMakeLists.txt b/CMakeLists.txt index d7627e942d..b49848c90d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -314,7 +314,7 @@ endif() string(CONCAT openPMD_HDF5_STATUS "") # version: lower limit if(openPMD_HAVE_HDF5) - if(HDF5_VERSION STREQUAL "") + if("${HDF5_VERSION}" STREQUAL "") message(WARNING "HDF5_VERSION is empty. Now assuming it is 1.8.13 or newer.") else() if(HDF5_VERSION VERSION_LESS 1.8.13) diff --git a/conda.yml b/conda.yml index 864749943c..e82567b2ae 100644 --- a/conda.yml +++ b/conda.yml @@ -23,7 +23,7 @@ dependencies: - dask - doxygen - git - - hdf5=1.14.1=mpi_openmpi_* + - hdf5=*=mpi_openmpi_* - mamba - make - mpi4py