From 06b2aa6849f056119d4dc2758cf4cd183d541a22 Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Tue, 30 Apr 2019 10:33:01 +0200 Subject: [PATCH] COMP: skip CGAL rules when -DNO_CGAL is defined for surfaceBooleanFeatures --- .../utilities/surface/surfaceBooleanFeatures/Make/options | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/applications/utilities/surface/surfaceBooleanFeatures/Make/options b/applications/utilities/surface/surfaceBooleanFeatures/Make/options index 92d2dd6b7b..df9419059b 100644 --- a/applications/utilities/surface/surfaceBooleanFeatures/Make/options +++ b/applications/utilities/surface/surfaceBooleanFeatures/Make/options @@ -3,10 +3,12 @@ EXE_NDEBUG = -DNDEBUG c++CGALWARN = -Wno-old-style-cast -/*-- Define NO_CGAL to avoid using CGAL altogether */ +/*-- Define NO_CGAL in COMP_FLAGS to avoid using CGAL altogether */ /*-- Define CGAL_INEXACT to use inexact CGAL constructions */ +ifeq (,$(findstring NO_CGAL,$(COMP_FLAGS))) include $(GENERAL_RULES)/CGAL +endif EXE_INC = \ ${ROUNDING_MATH} \