Commit 18b44cbe authored by lm's avatar lm

osg earth support will only activated when osg is found

parent 8da2820d
......@@ -189,7 +189,7 @@ linux-g++ {
DEFINES += QGC_OSG_ENABLED
}
exists(/usr/include/osgEarth) | exists(/usr/local/include/osgEarth) {
exists(/usr/include/osgEarth):exists(/usr/include/osg) | exists(/usr/local/include/osgEarth):exists(/usr/include/osg) {
message("Building support for osgEarth")
DEPENDENCIES_PRESENT += osgearth
# Include osgEarth libraries
......
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