Commit 83ec7cd3 authored by pixhawk's avatar pixhawk

Fixed compilation under MacOS, windows check next step

parent 44987026
......@@ -69,6 +69,7 @@ macx {
-framework SDL \
-framework CoreFoundation \
-framework ApplicationServices \
-framework GLUT \
-lm
ICON = $$BASEDIR/images/icons/macx.icns
......@@ -114,7 +115,8 @@ linux-g++ {
-lflite_cmulex \
-lflite \
-lSDL \
-lSDLmain
-lSDLmain \
-lglut
}
......
......@@ -44,7 +44,6 @@ INCLUDEPATH += . \
lib/QMapControl \
$$BASEDIR/../mavlink/contrib/slugs/include \
$$BASEDIR/../mavlink/include
LIBS += -lglut
# ../mavlink/include \
# MAVLink/include \
......
......@@ -31,7 +31,11 @@ This file is part of the QGROUNDCONTROL project
#include "QMap3DWidget.h"
#if (defined __APPLE__) & (defined __MACH__)
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif
#include <QCheckBox>
#include <sys/time.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