Commit b9b9fbc4 authored by Lorenz Meier's avatar Lorenz Meier

Fixed SDL include path

parent ab57e1ba
...@@ -30,14 +30,14 @@ win32-msvc2008|win32-msvc2010 { ...@@ -30,14 +30,14 @@ win32-msvc2008|win32-msvc2010 {
DEFINES += _TTY_NOWARN_ DEFINES += _TTY_NOWARN_
# MAC OS X # MAC OS X
macx|macx-g++42|macx-g++: { macx|macx-g++42|macx-g++|macx-llvm: {
CONFIG += x86_64 cocoa phonon CONFIG += x86_64 cocoa phonon
CONFIG -= x86 CONFIG -= x86
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.6 QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.6
INCLUDEPATH += -framework SDL INCLUDEPATH += $$BASEDIR/libs/lib/Frameworks/SDL.framework/Headers
LIBS += -framework IOKit \ LIBS += -framework IOKit \
-F$$BASEDIR/libs/lib/Frameworks \ -F$$BASEDIR/libs/lib/Frameworks \
......
...@@ -36,7 +36,11 @@ This file is part of the PIXHAWK project ...@@ -36,7 +36,11 @@ This file is part of the PIXHAWK project
#include <QThread> #include <QThread>
#include <QList> #include <QList>
#include <qmutex.h> #include <qmutex.h>
#ifdef Q_OS_MAC
#include <SDL.h>
#else
#include <SDL/SDL.h> #include <SDL/SDL.h>
#endif
#include "UASInterface.h" #include "UASInterface.h"
......
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