From efc0e3c650ab57c4a0be5daad2324c31cf7cf8e0 Mon Sep 17 00:00:00 2001 From: Lionel Heng Date: Wed, 8 Dec 2010 22:08:53 +0100 Subject: [PATCH] Fixed incorrect osg flags. --- qgroundcontrol.pri | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/qgroundcontrol.pri b/qgroundcontrol.pri index 2ea296997..7d14491fd 100644 --- a/qgroundcontrol.pri +++ b/qgroundcontrol.pri @@ -178,7 +178,8 @@ linux-g++ { message("Building support for OpenSceneGraph") DEPENDENCIES_PRESENT += osg # Include OpenSceneGraph libraries - LIBS += -losg + LIBS += -losg \ + -losgViewer DEFINES += QGC_OSG_ENABLED } @@ -186,8 +187,7 @@ linux-g++ { message("Building support for osgEarth") DEPENDENCIES_PRESENT += osgearth # Include osgEarth libraries - LIBS += -losgViewer \ - -losgEarth \ + LIBS += -losgEarth \ -losgEarthUtil DEFINES += QGC_OSGEARTH_ENABLED } @@ -247,7 +247,8 @@ linux-g++-64 { message("Building support for OpenSceneGraph") DEPENDENCIES_PRESENT += osg # Include OpenSceneGraph libraries - LIBS += -losg + LIBS += -losg \ + -losgViewer DEFINES += QGC_OSG_ENABLED } @@ -255,8 +256,7 @@ linux-g++-64 { message("Building support for osgEarth") DEPENDENCIES_PRESENT += osgearth # Include osgEarth libraries - LIBS += -losgViewer \ - -losgEarth \ + LIBS += -losgEarth \ -losgEarthUtil DEFINES += QGC_OSGEARTH_ENABLED } -- 2.22.0