cmake - drop OPENCASCADE_LIBRARIES variable #7388

This commit is contained in:
Andrej730
2025-12-02 17:58:35 +05:00
parent a5d0187343
commit 6cbd3ed014
3 changed files with 8 additions and 4 deletions
+5 -1
View File
@@ -17,7 +17,11 @@ if(WITH_PROJ)
target_link_libraries(Serializers PRIVATE proj::proj)
endif()
target_link_libraries(Serializers PRIVATE ${SERIALIZER_SCHEMA_LIBRARIES} ${OPENCOLLADA_LIBRARIES} ${USD_LIBRARIES} IfcGeom ${OPENCASCADE_LIBRARIES} ${kernel_libraries} IfcParse)
target_link_libraries(Serializers
PRIVATE
${SERIALIZER_SCHEMA_LIBRARIES} ${OPENCOLLADA_LIBRARIES} ${USD_LIBRARIES}
IfcGeom ${OpenCASCADE_LIBRARIES} ${kernel_libraries} IfcParse
)
install(TARGETS Serializers)
@@ -9,7 +9,7 @@ foreach(schema ${SCHEMA_VERSIONS})
if(WASM_BUILD)
target_link_libraries(Serializers_ifc${schema} ${HDF5_LIBRARIES})
else()
target_link_libraries(Serializers_ifc${schema} IfcGeom ${OPENCASCADE_LIBRARIES} ${HDF5_LIBRARIES})
target_link_libraries(Serializers_ifc${schema} IfcGeom ${OpenCASCADE_LIBRARIES} ${HDF5_LIBRARIES})
endif()
install(TARGETS Serializers_ifc${schema})