cmake: Add HDF5 to IFCOPENSHELL_LIBRARIES

This commit is contained in:
Esteban DUGUEPEROUX
2025-12-05 13:26:06 +01:00
committed by Thomas Krijnen
parent d91d7257c8
commit 4b56cc7916
+1
View File
@@ -316,6 +316,7 @@ endif()
if(HDF5_SUPPORT)
find_package(HDF5 REQUIRED COMPONENTS C CXX)
set(IFCOPENSHELL_LIBRARIES ${IFCOPENSHELL_LIBRARIES} hdf5::hdf5_cpp)
add_definitions(-DWITH_HDF5)
set(SWIG_DEFINES ${SWIG_DEFINES} -DWITH_HDF5)