sgmath depends on sgprops, sgprops depends on sgstructure.
Also, core libraries are enough for fgadmin.
find_package(OpenGL REQUIRED)
find_package(OpenAL REQUIRED)
find_package(ALUT REQUIRED)
-find_package(OpenSceneGraph 2.8.1 REQUIRED osgText osgSim osgDB osgParticle osgFX osgUtil osgViewer osgGA)
+find_package(OpenSceneGraph 3.0.0 REQUIRED osgText osgSim osgDB osgParticle osgFX osgUtil osgViewer osgGA)
if(ENABLE_FGADMIN)
find_package(FLTK)
add_subdirectory(man)
set (INSTALL_DOCS
- README
+ README
README.OpenAL
README.plib
README.OSG
io
serial
sound
- structure
+ math
props
+ structure
xml
misc
threads
debug
magvar
- math)
+ )
set(scene_comps
ephem
foreach(component ${comps})
find_sg_component(${component} SIMGEAR_CORE_LIBRARIES)
endforeach()
-
+
foreach(component ${scene_comps})
find_sg_component(${component} SIMGEAR_LIBRARIES)
endforeach()
Instrumentation
Model
MultiPlayer
- AIModel
- Navaids
+ AIModel
+ Navaids
Network
Scenery
Scripting
add_dependencies(fgadmin FGAdminUI)
target_link_libraries(fgadmin FGAdminUI
- ${SIMGEAR_LIBRARIES}
+ ${SIMGEAR_CORE_LIBRARIES}
${PLIB_LIBRARIES}
${FLTK_LIBRARIES}
${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}
)
-
+
install(TARGETS fgadmin RUNTIME DESTINATION bin)
message(STATUS "found glut")
add_executable(fgpanel main.cxx
- ApplicationProperties.hxx
+ ApplicationProperties.hxx
FGGLApplication.cxx
FGGLApplication.hxx
FGPanelApplication.cxx
panel.cxx
panel.hxx
panel_io.cxx
- panel_io.hxx)
+ panel_io.hxx
+ )
target_link_libraries(fgpanel
${PNG_LIBRARIES}
${OPENGL_LIBRARIES}
${PLIB_LIBRARIES}
${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}
- )
+ )
install(TARGETS fgpanel RUNTIME DESTINATION bin)
else()