summaryrefslogtreecommitdiff
path: root/cgal.pri
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-12-15 04:17:04 (GMT)
committerMarius Kintel <marius@kintel.net>2011-12-15 04:17:04 (GMT)
commit6aa1a6d4c8fab520d2951ccfddb141ea5825acc1 (patch)
tree516b7e1b0236f6b6914f32b75fade5e920f6df4e /cgal.pri
parentb74bb392afbeee062b9654dac78950fc85c4c884 (diff)
Some more build system cleaning
Diffstat (limited to 'cgal.pri')
-rw-r--r--cgal.pri19
1 files changed, 8 insertions, 11 deletions
diff --git a/cgal.pri b/cgal.pri
index 56fb17b..7cd5389 100644
--- a/cgal.pri
+++ b/cgal.pri
@@ -1,16 +1,14 @@
cgal {
DEFINES += ENABLE_CGAL
- isEmpty(OPENSCAD_LIBDIR) {
- # Optionally specify location of CGAL using the
- # CGALDIR env. variable
- CGAL_DIR = $$(CGALDIR)
- !isEmpty(CGAL_DIR) {
- QMAKE_INCDIR += $$CGAL_DIR/include
- win32: QMAKE_INCDIR += $$CGAL_DIR/auxiliary/gmp/include
- QMAKE_LIBDIR += $$CGAL_DIR/lib
- message("CGAL location: $$CGAL_DIR")
- }
+ # Optionally specify location of CGAL using the
+ # CGALDIR env. variable
+ CGAL_DIR = $$(CGALDIR)
+ !isEmpty(CGAL_DIR) {
+ QMAKE_INCDIR += $$CGAL_DIR/include
+ win32: QMAKE_INCDIR += $$CGAL_DIR/auxiliary/gmp/include
+ QMAKE_LIBDIR += $$CGAL_DIR/lib
+ message("CGAL location: $$CGAL_DIR")
}
CONFIG(mingw-cross-env) {
@@ -27,5 +25,4 @@ cgal {
QMAKE_CXXFLAGS += -frounding-math
}
}
-
}
contact: Jan Huwald // Impressum