6b6238293f
For all source directories outside of simgear/scene, which really depends very hard on osg, avoid using osg classes. This should reenable the use of some basic and scenegraph independent parts of simgear without the the need for osg.
12 lines
255 B
CMake
12 lines
255 B
CMake
|
|
add_executable(fgviewer fgviewer.cxx)
|
|
|
|
target_link_libraries(fgviewer
|
|
${SIMGEAR_LIBRARIES}
|
|
${OPENSCENEGRAPH_LIBRARIES}
|
|
${OPENGL_LIBRARIES}
|
|
${ZLIB_LIBRARIES}
|
|
${PLIB_LIBRARIES}
|
|
${RT_LIBRARY})
|
|
|
|
install(TARGETS fgviewer RUNTIME DESTINATION bin)
|