cmake/ifcwrap: remove requirement for svgfill target

Since it's a plugin now and not linked directly.
`LIBSVGFILL` variable was set, but never used.
This commit is contained in:
Andrej730
2026-09-03 10:21:59 +05:00
parent 87fd9209e1
commit ee12e36dcd
-12
View File
@@ -110,18 +110,6 @@ INCLUDE_DIRECTORIES(BEFORE ${CMAKE_CURRENT_SOURCE_DIR})
SET(CMAKE_SWIG_FLAGS ${SWIG_DEFINES}) SET(CMAKE_SWIG_FLAGS ${SWIG_DEFINES})
if(WITH_CGAL)
if(IFCOPENSHELL_IFCWRAP_STANDALONE)
if(TARGET IfcOpenShell::svgfill)
set(LIBSVGFILL IfcOpenShell::svgfill)
else()
message(FATAL_ERROR "IfcOpenShell was built with CGAL, but the exported svgfill target was not found.")
endif()
else()
set(LIBSVGFILL svgfill)
endif()
endif()
set_source_files_properties(IfcPython.i PROPERTIES CPLUSPLUS ON) set_source_files_properties(IfcPython.i PROPERTIES CPLUSPLUS ON)
# Rebuild on changes in other .i files. # Rebuild on changes in other .i files.
SET_PROPERTY( SET_PROPERTY(