1 find_package(PNG REQUIRED)
2 find_package(OpenGL REQUIRED)
3 find_package(GLUT REQUIRED)
5 message(STATUS "found glut")
7 add_executable(fgpanel main.cxx
8 ApplicationProperties.hxx
11 FGPanelApplication.cxx
12 FGPanelApplication.hxx
13 FGPNGTextureLoader.cxx
14 FGPNGTextureLoader.hxx
15 FGRGBTextureLoader.cxx
16 FGRGBTextureLoader.hxx
27 target_link_libraries(fgpanel
30 ${SIMGEAR_CORE_LIBRARIES}
33 ${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}
36 include_directories(${PNG_INCLUDE_DIR})
38 install(TARGETS fgpanel RUNTIME DESTINATION bin)
40 message(STATUS "glut NOT found, can't build fgpanel")