mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-30 12:09:51 +00:00
build-all.py - use find_package for hdf5
This commit is contained in:
+1
-6
@@ -1144,12 +1144,7 @@ if "libxml2" in targets:
|
|||||||
)
|
)
|
||||||
|
|
||||||
if "hdf5" in targets:
|
if "hdf5" in targets:
|
||||||
cmake_args.extend(
|
cmake_args_prefix_path.append(f"{DEPS_DIR}/install/hdf5-{HDF5_VERSION}")
|
||||||
[
|
|
||||||
f"-DHDF5_INCLUDE_DIR={DEPS_DIR}/install/hdf5-{HDF5_VERSION}/include",
|
|
||||||
f"-DHDF5_LIBRARY_DIR={DEPS_DIR}/install/hdf5-{HDF5_VERSION}/lib",
|
|
||||||
]
|
|
||||||
)
|
|
||||||
else:
|
else:
|
||||||
cmake_args.append("-DHDF5_SUPPORT=Off")
|
cmake_args.append("-DHDF5_SUPPORT=Off")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user