Commit 6d031afe authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

tweak cmake HDF5 config

when HDF5 is compiled/installed via cmake, it sometimes installs a
config file that can mess up the exported turtle cmake config.
I.e. libturtle.a compiles/links fine, but executables then fail to
compile because cmake can't find HDF5.
injected a workaround here.
parent 97f786c0
Pipeline #62063 passed with stage
in 3 minutes and 47 seconds
......@@ -107,6 +107,7 @@ if(NOT DEFINED ENV{HDF5_ROOT})
endif()
set(HDF5_PREFER_PARALLEL TRUE)
set(HDF5_NO_FIND_PACKAGE_CONFIG_FILE TRUE)
find_package(HDF5 REQUIRED)
message(STATUS "HDF5_C_INCLUDE_DIRS ${HDF5_C_INCLUDE_DIRS}")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment