diff options
author | kintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c> | 2010-03-31 00:25:04 (GMT) |
---|---|---|
committer | kintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c> | 2010-03-31 00:25:04 (GMT) |
commit | 334f15c0d6442fbbcbe0b83cad57b3b3413d470b (patch) | |
tree | 3667c8329e1398b4397f20c2c4e0d767a69a97b6 /cgal.pri | |
parent | 1950fc593d702aca6024395ed59c0e34e6dcaf52 (diff) |
Minor build system fixes
git-svn-id: http://svn.clifford.at/openscad/trunk@492 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'cgal.pri')
-rw-r--r-- | cgal.pri | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -1,12 +1,18 @@ cgal { -# Uncomment this to enable experimental CGAL tesselation -# DEFINES += CGAL_TESSELATE DEFINES += ENABLE_CGAL LIBS += -lCGAL + + # Optionally specify location of CGAL using the + # CGALDIR env. variable + CGAL_DIR = $$(CGALDIR) + !isEmpty(CGAL_DIR) { + INCLUDEPATH += $$CGAL_DIR/include + LIBS += -L$$CGAL_DIR/lib + message("CGAL location: $$CGAL_DIR") + } macx { - INCLUDEPATH += $(PWD)/../install/include /opt/local/include # The -L/usr/lib is to force the linker to use system libraries over MacPort libraries - LIBS += -L/usr/lib -L$(PWD)/../install/lib -L/opt/local/lib /opt/local/lib/libgmp.a /opt/local/lib/libmpfr.a /opt/local/lib/libboost_thread-mt.a + LIBS += -L/usr/lib -L/opt/local/lib /opt/local/lib/libgmp.a /opt/local/lib/libmpfr.a /opt/local/lib/libboost_thread-mt.a } else { LIBS += -lmpfr |