diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 2344e52df8..179c8e135b 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -736,7 +736,7 @@ if(BUILD_IFCMAX) add_subdirectory(../src/ifcmax ifcmax) endif() -if(WITH_CGAL) +if(BUILD_IFCPYTHON AND WITH_CGAL) add_subdirectory(../src/svgfill svgfill) endif()