File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,11 @@ done
163163PID=$$
164164cd " $BASEDIR "
165165INCDIR=` echo $INCLUDEDIR | sed -e ' s/\\//\\\\\\//g' `
166- sed -e " s/unix:INCLUDEPATH +=.*$/unix:INCLUDEPATH += $INCDIR /" defaults/appbase.pri > defaults/appbase.pri.$PID
166+ if [ " $KERNEL " = " Darwin" ]; then
167+ sed -e " s/macx:INCLUDEPATH +=.*$/macx:INCLUDEPATH += $INCDIR /" defaults/appbase.pri > defaults/appbase.pri.$PID
168+ else
169+ sed -e " s/unix:INCLUDEPATH +=.*$/unix:INCLUDEPATH += $INCDIR /" defaults/appbase.pri > defaults/appbase.pri.$PID
170+ fi
167171command mv -f defaults/appbase.pri.$PID defaults/appbase.pri
168172
169173if [ -n " $FRAMEWORK " ]; then
Original file line number Diff line number Diff line change @@ -10,10 +10,11 @@ win32 {
1010 macx {
1111 LIBS += -F/Library/Frameworks
1212 LIBS += -framework treefrog
13+ macx:INCLUDEPATH += /Library/Frameworks/treefrog.framework/Headers
1314 } else {
1415 LIBS += -ltreefrog
16+ unix :INCLUDEPATH += /usr/include/treefrog
1517 }
16- unix :INCLUDEPATH += /usr/include/treefrog
1718
1819 # c++11
1920 lessThan(QT_MAJOR_VERSION, 5) {
You can’t perform that action at this time.
0 commit comments