ifcwrap/cmake: dont link against geom kernels

Produces errors in wasm builds - we want to be able to load the wrapper first and all other dependencies should be pluggable. But loading wrapper first failed, because it depended on the kernels. Loading kernels first would also fail, since OCCT kernel is using using some symbols from core (`ifcopenshell::exception`) and in wasm they have to be resolved all during `dlopen`.
This commit is contained in:
Andrej730
2026-08-06 16:09:56 +05:00
parent 2aff2adb42
commit c57554a07e
+1 -1
View File
@@ -191,7 +191,7 @@ if(IFCOPENSHELL_IFCWRAP_STANDALONE)
set(_ifcwrap_swig_depends "")
else()
set(_ifcwrap_ifcopenshell_libraries ${IFCOPENSHELL_LIBRARIES})
set(_ifcwrap_geometry_libraries IfcGeom ${kernel_libraries})
set(_ifcwrap_geometry_libraries IfcGeom)
set(_ifcwrap_cgal_libraries ${CGAL_LIBRARIES})
set(_ifcwrap_swig_depends ${IFCOPENSHELL_LIBRARIES})
endif()