mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 18:21:59 +00:00
cmake - link serializers against IfcGeom to fix wasm build
jsonserializer is using ifcgeom and also eigen3
This commit is contained in:
@@ -9,9 +9,9 @@ foreach(schema ${SCHEMA_VERSIONS})
|
|||||||
Serializers_ifc${schema}
|
Serializers_ifc${schema}
|
||||||
PROPERTIES COMPILE_FLAGS "-DIFC_GEOM_EXPORTS -DIfcSchema=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)
|
if(NOT WASM_BUILD)
|
||||||
target_link_libraries(Serializers_ifc${schema} IfcGeom ${OpenCASCADE_LIBRARIES})
|
target_link_libraries(Serializers_ifc${schema} ${OpenCASCADE_LIBRARIES})
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user