Commit efc0e3c6 authored by Lionel Heng's avatar Lionel Heng

Fixed incorrect osg flags.

parent 2cbb6cba
...@@ -178,7 +178,8 @@ linux-g++ { ...@@ -178,7 +178,8 @@ linux-g++ {
message("Building support for OpenSceneGraph") message("Building support for OpenSceneGraph")
DEPENDENCIES_PRESENT += osg DEPENDENCIES_PRESENT += osg
# Include OpenSceneGraph libraries # Include OpenSceneGraph libraries
LIBS += -losg LIBS += -losg \
-losgViewer
DEFINES += QGC_OSG_ENABLED DEFINES += QGC_OSG_ENABLED
} }
...@@ -186,8 +187,7 @@ linux-g++ { ...@@ -186,8 +187,7 @@ linux-g++ {
message("Building support for osgEarth") message("Building support for osgEarth")
DEPENDENCIES_PRESENT += osgearth DEPENDENCIES_PRESENT += osgearth
# Include osgEarth libraries # Include osgEarth libraries
LIBS += -losgViewer \ LIBS += -losgEarth \
-losgEarth \
-losgEarthUtil -losgEarthUtil
DEFINES += QGC_OSGEARTH_ENABLED DEFINES += QGC_OSGEARTH_ENABLED
} }
...@@ -247,7 +247,8 @@ linux-g++-64 { ...@@ -247,7 +247,8 @@ linux-g++-64 {
message("Building support for OpenSceneGraph") message("Building support for OpenSceneGraph")
DEPENDENCIES_PRESENT += osg DEPENDENCIES_PRESENT += osg
# Include OpenSceneGraph libraries # Include OpenSceneGraph libraries
LIBS += -losg LIBS += -losg \
-losgViewer
DEFINES += QGC_OSG_ENABLED DEFINES += QGC_OSG_ENABLED
} }
...@@ -255,8 +256,7 @@ linux-g++-64 { ...@@ -255,8 +256,7 @@ linux-g++-64 {
message("Building support for osgEarth") message("Building support for osgEarth")
DEPENDENCIES_PRESENT += osgearth DEPENDENCIES_PRESENT += osgearth
# Include osgEarth libraries # Include osgEarth libraries
LIBS += -losgViewer \ LIBS += -losgEarth \
-losgEarth \
-losgEarthUtil -losgEarthUtil
DEFINES += QGC_OSGEARTH_ENABLED DEFINES += QGC_OSGEARTH_ENABLED
} }
......
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