cmake - link serializers against IfcGeom to fix wasm build

jsonserializer is using ifcgeom and also eigen3
This commit is contained in:
Andrej730
2026-02-19 16:17:45 +05:00
parent 526b9537a9
commit 34ffaea2c9
@@ -9,9 +9,9 @@ foreach(schema ${SCHEMA_VERSIONS})
Serializers_ifc${schema}
PROPERTIES COMPILE_FLAGS "-DIFC_GEOM_EXPORTS -DIfcSchema=Ifc${schema}"
)
target_link_libraries(Serializers_ifc${schema} ${HDF5_LIBRARIES} ${GLTF_LIBRARIES})
target_link_libraries(Serializers_ifc${schema} IfcGeom ${HDF5_LIBRARIES} ${GLTF_LIBRARIES})
if(NOT WASM_BUILD)
target_link_libraries(Serializers_ifc${schema} IfcGeom ${OpenCASCADE_LIBRARIES})
target_link_libraries(Serializers_ifc${schema} ${OpenCASCADE_LIBRARIES})
endif()
endforeach()