summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-01-30 18:42:54 (GMT)
committerkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-01-30 18:42:54 (GMT)
commitdaa35369a7320e19f58a2e294283d26b03bb487b (patch)
treeeb15359df2dcd6cdcbd33cfe12a840721fc89954
parent3d10ddb00612154f1205ef26ee629fb7f264d8ed (diff)
Support the EIGEN2DIR env. variable
git-svn-id: http://svn.clifford.at/openscad/trunk@378 b57f626f-c46c-0410-a088-ec61d464b74c
-rw-r--r--openscad.pro7
1 files changed, 5 insertions, 2 deletions
diff --git a/openscad.pro b/openscad.pro
index 60b9ab4..4a8bdf2 100644
--- a/openscad.pro
+++ b/openscad.pro
@@ -39,11 +39,14 @@ mdi {
include(cgal.pri)
include(opencsg.pri)
+# Optionally specify location of Eigen2 using the
+# EIGEN2DIR env. variable
+EIGEN2_DIR = $(EIGEN2DIR)
!isEmpty(EIGEN2_DIR) {
- QMAKE_CXXFLAGS += -I$$EIGEN2_DIR
+ INCLUDEPATH += $$EIGEN2_DIR
}
else {
- QMAKE_CXXFLAGS += -I/usr/include/eigen2
+ INCLUDEPATH += /usr/include/eigen2
}
QMAKE_CXXFLAGS_RELEASE = -O3 -march=pentium
contact: Jan Huwald // Impressum