Skip to content

Commit 34ffaea

Browse files
committed
cmake - link serializers against IfcGeom to fix wasm build
jsonserializer is using ifcgeom and also eigen3
1 parent 526b953 commit 34ffaea

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/serializers/schema_dependent/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ foreach(schema ${SCHEMA_VERSIONS})
99
Serializers_ifc${schema}
1010
PROPERTIES COMPILE_FLAGS "-DIFC_GEOM_EXPORTS -DIfcSchema=Ifc${schema}"
1111
)
12-
target_link_libraries(Serializers_ifc${schema} ${HDF5_LIBRARIES} ${GLTF_LIBRARIES})
12+
target_link_libraries(Serializers_ifc${schema} IfcGeom ${HDF5_LIBRARIES} ${GLTF_LIBRARIES})
1313
if(NOT WASM_BUILD)
14-
target_link_libraries(Serializers_ifc${schema} IfcGeom ${OpenCASCADE_LIBRARIES})
14+
target_link_libraries(Serializers_ifc${schema} ${OpenCASCADE_LIBRARIES})
1515
endif()
1616
endforeach()
1717

0 commit comments

Comments
 (0)