mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 06:58:56 +00:00
cmake: Add HDF5 to IFCOPENSHELL_LIBRARIES
This commit is contained in:
committed by
Thomas Krijnen
parent
d91d7257c8
commit
4b56cc7916
@@ -316,6 +316,7 @@ endif()
|
|||||||
|
|
||||||
if(HDF5_SUPPORT)
|
if(HDF5_SUPPORT)
|
||||||
find_package(HDF5 REQUIRED COMPONENTS C CXX)
|
find_package(HDF5 REQUIRED COMPONENTS C CXX)
|
||||||
|
set(IFCOPENSHELL_LIBRARIES ${IFCOPENSHELL_LIBRARIES} hdf5::hdf5_cpp)
|
||||||
|
|
||||||
add_definitions(-DWITH_HDF5)
|
add_definitions(-DWITH_HDF5)
|
||||||
set(SWIG_DEFINES ${SWIG_DEFINES} -DWITH_HDF5)
|
set(SWIG_DEFINES ${SWIG_DEFINES} -DWITH_HDF5)
|
||||||
|
|||||||
Reference in New Issue
Block a user