Browse Source

osg cmake fix, 2nd try

QGC4.4
James Goppert 14 years ago
parent
commit
6b51058e3c
  1. 7
      CMakeLists.txt

7
CMakeLists.txt

@ -196,7 +196,12 @@ else() @@ -196,7 +196,12 @@ else()
message(STATUS "\t\tMAVLINK\tNO")
endif ()
if (${OSG_LIBRARY} STREQUAL "OSG_LIBRARY-NOTFOUND")
# fix for osg found bug
if (NOT ${OSG_LIBRARY} STREQUAL "OSG_LIBRARY-NOTFOUND")
set(OPENSCENEGRAPH_FOUND FALSE)
endif()
if (OPENSCENEGRAPH_FOUND)
message(STATUS "\t\tOpenSceneGraph\tNO")
else()
message(STATUS "\t\tOpenSceneGraph\tYES")

Loading…
Cancel
Save