diff options
-rw-r--r-- | test-code/cgaltest.pro | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/test-code/cgaltest.pro b/test-code/cgaltest.pro index 5f0ea99..899bfdf 100644 --- a/test-code/cgaltest.pro +++ b/test-code/cgaltest.pro @@ -8,6 +8,13 @@ RCC_DIR = cgal-objects INCLUDEPATH += ../src macx { + macx { + DEPLOYDIR = $$(MACOSX_DEPLOY_DIR) + !isEmpty(DEPLOYDIR) { + INCLUDEPATH += $$DEPLOYDIR/include + LIBS += -L$$DEPLOYDIR/lib + } + } CONFIG -= app_bundle LIBS += -framework Carbon } @@ -19,11 +26,6 @@ CONFIG += cgal include(../cgal.pri) include(../eigen2.pri) -# Standard include path for misc external libs -macx { - INCLUDEPATH += /opt/local/include -} - LEXSOURCES += ../src/lexer.l YACCSOURCES += ../src/parser.y |