Commit 8e9c932c authored by pixhawk's avatar pixhawk

Enabled osgEarth support on Linux systems

parent 68461c3c
...@@ -76,6 +76,7 @@ macx { ...@@ -76,6 +76,7 @@ macx {
exists(/opt/local/lib/osg):exists("/opt/local/lib/osgEarth") { exists(/opt/local/lib/osg):exists("/opt/local/lib/osgEarth") {
message("Building support for OSGEARTH") message("Building support for OSGEARTH")
DEPENDENCIES_PRESENT += osgearth
LIBS += -L/opt/local/lib/ LIBS += -L/opt/local/lib/
INCLUDEPATH += /opt/local/include INCLUDEPATH += /opt/local/include
# Include OpenSceneGraph and osgEarth libraries # Include OpenSceneGraph and osgEarth libraries
...@@ -128,6 +129,7 @@ linux-g++-32 { ...@@ -128,6 +129,7 @@ linux-g++-32 {
exists(/usr/lib/osg):exists(/usr/lib/osgEarth) { exists(/usr/lib/osg):exists(/usr/lib/osgEarth) {
message("Building support for OSGEARTH") message("Building support for OSGEARTH")
DEPENDENCIES_PRESENT += osgearth
# Include OpenSceneGraph and osgEarth libraries # Include OpenSceneGraph and osgEarth libraries
LIBS += -losg \ LIBS += -losg \
-losgViewer \ -losgViewer \
...@@ -181,6 +183,7 @@ linux-g++-64 { ...@@ -181,6 +183,7 @@ linux-g++-64 {
exists(/usr/lib/osg):exists(/usr/lib/osgEarth) { exists(/usr/lib/osg):exists(/usr/lib/osgEarth) {
message("Building support for OSGEARTH") message("Building support for OSGEARTH")
DEPENDENCIES_PRESENT += osgearth
# Include OpenSceneGraph and osgEarth libraries # Include OpenSceneGraph and osgEarth libraries
LIBS += -losg \ LIBS += -losg \
-losgViewer \ -losgViewer \
......
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