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

osg cmake fix, 2nd try

parent 58c62971
......@@ -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")
......
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