mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-30 12:09:51 +00:00
cmake - specify cxx component for hdf5 package
by default it's targeting `C` and this was part of the issue why ci.yml was failing
This commit is contained in:
@@ -796,7 +796,7 @@ if(HDF5_SUPPORT)
|
|||||||
# If it failed, still try to find as a module.
|
# If it failed, still try to find as a module.
|
||||||
# E.g. on Ubuntu `libhdf5-dev` doesn't provie hdf5-config.cmake.
|
# E.g. on Ubuntu `libhdf5-dev` doesn't provie hdf5-config.cmake.
|
||||||
# Will automatically fill HDF5_LIBRARIES and HDF5_INCLUDE_DIR.
|
# Will automatically fill HDF5_LIBRARIES and HDF5_INCLUDE_DIR.
|
||||||
find_package(HDF5)
|
find_package(HDF5 COMPONENTS CXX)
|
||||||
if(NOT HDF5_INCLUDE_DIR)
|
if(NOT HDF5_INCLUDE_DIR)
|
||||||
message(
|
message(
|
||||||
FATAL_ERROR
|
FATAL_ERROR
|
||||||
|
|||||||
Reference in New Issue
Block a user