diff --git a/src/ifcgeom/CMakeLists.txt b/src/ifcgeom/CMakeLists.txt index 1d24e7c762..d84b8ec98b 100644 --- a/src/ifcgeom/CMakeLists.txt +++ b/src/ifcgeom/CMakeLists.txt @@ -30,7 +30,6 @@ target_link_libraries(IfcGeom if(NOT WASM_BUILD) target_link_libraries(IfcGeom IfcParse) endif() -target_link_libraries(IfcGeom ) install(FILES ${SCHEMA_AGNOSTIC_H_FILES} DESTINATION ${INCLUDEDIR}/ifcgeom diff --git a/src/ifcwrap/CMakeLists.txt b/src/ifcwrap/CMakeLists.txt index bbbe428795..7694c29859 100644 --- a/src/ifcwrap/CMakeLists.txt +++ b/src/ifcwrap/CMakeLists.txt @@ -119,11 +119,6 @@ else() ) endif() -if(WITH_CGAL) - find_package(CGAL REQUIRED) - target_link_libraries(ifcopenshell_wrapper PRIVATE CGAL::CGAL) -endif() - target_link_libraries(ifcopenshell_wrapper PRIVATE Python::Module) SET_PROPERTY(TARGET ifcopenshell_wrapper PROPERTY SWIG_DEPENDS ${IFCOPENSHELL_LIBRARIES}) if (WASM_BUILD)