Commit 97378dc0 authored by pixhawk's avatar pixhawk

Fixed compile issues on non-64bit OS X systems

parent a4199731
...@@ -61,12 +61,16 @@ macx { ...@@ -61,12 +61,16 @@ macx {
message(Building for Mac OS X) message(Building for Mac OS X)
CONFIG += x86_64 cocoa CONFIG += x86
contains ( DEFINES, QT_MAC_USE_COCOA ) {
CONFIG += x86_64 cocoa
CONFIG -= static CONFIG -= static
}
DESTDIR = $$BASEDIR/bin/mac DESTDIR = $$BASEDIR/bin/mac
INCLUDEPATH += -framework SDL \ INCLUDEPATH += -framework SDL \
/Users/hugo/Projects/PixHawkGroundControl/MAVLink/src $$BASEDIR/MAVLink/src
LIBS += -framework IOKit \ LIBS += -framework IOKit \
-framework SDL \ -framework SDL \
...@@ -94,10 +98,6 @@ linux-g++ { ...@@ -94,10 +98,6 @@ linux-g++ {
DESTDIR = $$BASEDIR DESTDIR = $$BASEDIR
} }
INCLUDEPATH += /usr/include/SDL INCLUDEPATH += /usr/include/SDL
# /usr/include/qwt-qt4
#-L$$BASEDIR/lib/qwt/linux \
DEFINES += _TTY_POSIX_ DEFINES += _TTY_POSIX_
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment