summaryrefslogtreecommitdiff
path: root/cgal.pri
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-12-15 03:59:15 (GMT)
committerMarius Kintel <marius@kintel.net>2011-12-15 03:59:15 (GMT)
commitb74bb392afbeee062b9654dac78950fc85c4c884 (patch)
treefa24632088f8dee0f91d8500619a820d61d4b030 /cgal.pri
parent6d3304a30669b24bec9d70c4086ee109e47aefb0 (diff)
generalized MACOSX_DEPLOY_DIR into the platform-independent OPENSCAD_LIBRARIES
Diffstat (limited to 'cgal.pri')
-rw-r--r--cgal.pri10
1 files changed, 5 insertions, 5 deletions
diff --git a/cgal.pri b/cgal.pri
index 1d9ef22..56fb17b 100644
--- a/cgal.pri
+++ b/cgal.pri
@@ -1,14 +1,14 @@
cgal {
DEFINES += ENABLE_CGAL
- isEmpty(DEPLOYDIR) {
+ isEmpty(OPENSCAD_LIBDIR) {
# 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
+ QMAKE_INCDIR += $$CGAL_DIR/include
+ win32: QMAKE_INCDIR += $$CGAL_DIR/auxiliary/gmp/include
+ QMAKE_LIBDIR += $$CGAL_DIR/lib
message("CGAL location: $$CGAL_DIR")
}
}
@@ -17,7 +17,7 @@ cgal {
LIBS += -lgmp -lmpfr -lCGAL
QMAKE_CXXFLAGS += -frounding-math
} else {
- windows {
+ win32 {
*-g++* {
QMAKE_CXXFLAGS += -frounding-math
}
contact: Jan Huwald // Impressum