Commit 6b51058e authored by James Goppert's avatar James Goppert

osg cmake fix, 2nd try

parent 58c62971
...@@ -196,7 +196,12 @@ else() ...@@ -196,7 +196,12 @@ else()
message(STATUS "\t\tMAVLINK\tNO") message(STATUS "\t\tMAVLINK\tNO")
endif () 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") message(STATUS "\t\tOpenSceneGraph\tNO")
else() else()
message(STATUS "\t\tOpenSceneGraph\tYES") message(STATUS "\t\tOpenSceneGraph\tYES")
......
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