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
@@ -130,7 +130,7 @@ if (WASM_BUILD)
endif()
if("$ENV{LDFLAGS}" MATCHES ".undefined.suppress")
# On osx there is some state in the python dylib. With `-Wl,undefined,suppress` we can ignore the missing symbols at compile time.
target_link_libraries(ifcopenshell_wrapper PRIVATE ${IFCOPENSHELL_LIBRARIES} ${OPENCASCADE_LIBRARIES} ${Boost_LIBRARIES} ${LIBSVGFILL})
target_link_libraries(ifcopenshell_wrapper PRIVATE ${IFCOPENSHELL_LIBRARIES} ${OpenCASCADE_LIBRARIES} ${Boost_LIBRARIES} ${LIBSVGFILL})
else()
target_link_libraries(ifcopenshell_wrapper PRIVATE ${IFCOPENSHELL_LIBRARIES} ${LIBSVGFILL})
endif()