summaryrefslogtreecommitdiff
path: root/cgal.pri
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-12-19 14:41:11 (GMT)
committerMarius Kintel <marius@kintel.net>2011-12-19 14:41:11 (GMT)
commit87ce149df2581361e8975bd1a0addf2b6ef61e3d (patch)
treec68db815a72cc767b6d51be0a57e9946c5f0a619 /cgal.pri
parentba1f0b7489dd5fa9bdc8c44068040f13113b40d0 (diff)
parent638743e2201c6869b48857dd2db5ec01df665162 (diff)
Merge branch 'master' into boost_filesystem
Conflicts: boost.pri tests/CMakeLists.txt
Diffstat (limited to 'cgal.pri')
-rw-r--r--cgal.pri21
1 files changed, 9 insertions, 12 deletions
diff --git a/cgal.pri b/cgal.pri
index 1d9ef22..7cd5389 100644
--- a/cgal.pri
+++ b/cgal.pri
@@ -1,23 +1,21 @@
cgal {
DEFINES += ENABLE_CGAL
- isEmpty(DEPLOYDIR) {
- # Optionally specify location of CGAL using the
- # CGALDIR env. variable
- CGAL_DIR = $$(CGALDIR)
- !isEmpty(CGAL_DIR) {
- INCLUDEPATH += $$CGAL_DIR/include
- win32: INCLUDEPATH += $$CGAL_DIR/auxiliary/gmp/include
- LIBS += -L$$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) {
LIBS += -lgmp -lmpfr -lCGAL
QMAKE_CXXFLAGS += -frounding-math
} else {
- windows {
+ win32 {
*-g++* {
QMAKE_CXXFLAGS += -frounding-math
}
@@ -27,5 +25,4 @@ cgal {
QMAKE_CXXFLAGS += -frounding-math
}
}
-
}
contact: Jan Huwald // Impressum