diff --git a/applications/utilities/surface/surfaceBooleanFeatures/Allwmake b/applications/utilities/surface/surfaceBooleanFeatures/Allwmake index 0d92662d4e..4a83790a61 100755 --- a/applications/utilities/surface/surfaceBooleanFeatures/Allwmake +++ b/applications/utilities/surface/surfaceBooleanFeatures/Allwmake @@ -10,7 +10,7 @@ if have_cgal then wmake $targetType PolyhedronReader export COMP_FLAGS='-IPolyhedronReader' - export LINK_FLAGS='${CGAL_LIBS} -lPolyhedronReader' + export LINK_FLAGS='-lPolyhedronReader' else export COMP_FLAGS="-DNO_CGAL" fi diff --git a/applications/utilities/surface/surfaceBooleanFeatures/Make/options b/applications/utilities/surface/surfaceBooleanFeatures/Make/options index 554b39c891..02ff71e23c 100644 --- a/applications/utilities/surface/surfaceBooleanFeatures/Make/options +++ b/applications/utilities/surface/surfaceBooleanFeatures/Make/options @@ -26,4 +26,5 @@ EXE_LIBS = \ -lfileFormats \ -lsurfMesh \ -lmeshTools \ + ${CGAL_LIBS} \ $(LINK_FLAGS)