mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 14:23:53 +00:00
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:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user