cmake: Externalize OpenCascade config (#7365)

Co-authored-by: Andrej <azhilenkov@gmail.com>
This commit is contained in:
Esteban Dugueperoux
2025-11-19 14:02:07 +01:00
committed by GitHub
parent be0eea1bed
commit 613015e37e
8 changed files with 144 additions and 143 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ endif()
set(IFCCONVERT_FILES ${IFCCONVERT_CPP_FILES} ${IFCCONVERT_H_FILES})
add_executable(IfcConvert ${IFCCONVERT_FILES})
target_link_libraries(IfcConvert IfcGeom IfcParse Serializers ${OPENCASCADE_LIBRARIES} ${Boost_LIBRARIES} ${HDF5_LIBRARIES} ${USD_LIBRARIES})
target_link_libraries(IfcConvert IfcGeom IfcParse Serializers ${OpenCASCADE_LIBRARIES} ${Boost_LIBRARIES} ${HDF5_LIBRARIES} ${USD_LIBRARIES})
if(WITH_RELATIONSHIP_VALIDATION)
set_property(TARGET IfcConvert APPEND_STRING PROPERTY COMPILE_FLAGS " -DWITH_RELATIONSHIP_VALIDATION")
endif()