mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 10:11:46 +00:00
cmake - proceed to package search if HDF5_LIBRARY_DIR not provided
Fixes issue with ci.yml
This commit is contained in:
@@ -786,7 +786,7 @@ if(HDF5_SUPPORT)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT HDF5_INCLUDE_DIR)
|
if(NOT HDF5_INCLUDE_DIR OR NOT HDF5_LIBRARY_DIR)
|
||||||
# First try to find it as a config.
|
# First try to find it as a config.
|
||||||
find_package(HDF5 CONFIG)
|
find_package(HDF5 CONFIG)
|
||||||
if(HDF5_DIR)
|
if(HDF5_DIR)
|
||||||
@@ -800,6 +800,7 @@ if(HDF5_SUPPORT)
|
|||||||
if(NOT HDF5_INCLUDE_DIR)
|
if(NOT HDF5_INCLUDE_DIR)
|
||||||
message(
|
message(
|
||||||
FATAL_ERROR
|
FATAL_ERROR
|
||||||
|
"HDF5_INCLUDE_DIR is not provided (current value: '${HDF5_INCLUDE_DIR}'). "
|
||||||
"HDF5_LIBRARY_DIR is not provided (current value: '${HDF5_LIBRARY_DIR}'). "
|
"HDF5_LIBRARY_DIR is not provided (current value: '${HDF5_LIBRARY_DIR}'). "
|
||||||
"Also could not find HDF5 package (neither module or config)."
|
"Also could not find HDF5 package (neither module or config)."
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user