]> git.mxchange.org Git - flightgear.git/blob - utils/fgpanel/CMakeLists.txt
Add property controls for cloud impostors and LoD hierarchy radii.
[flightgear.git] / utils / fgpanel / CMakeLists.txt
1 #FIXME: does this work in windows?
2 find_package(PNG REQUIRED)
3 find_package(OpenGL REQUIRED)
4 find_package(GLUT REQUIRED)
5 if(GLUT_FOUND)
6         message(STATUS "found glut")
7
8         add_executable(fgpanel main.cxx
9                 ApplicationProperties.hxx
10                 FGGLApplication.cxx 
11                 FGGLApplication.hxx
12                 FGPanelApplication.cxx 
13                 FGPanelApplication.hxx
14                 FGPNGTextureLoader.cxx 
15                 FGPNGTextureLoader.hxx
16                 FGRGBTextureLoader.cxx
17                 FGRGBTextureLoader.hxx 
18                 FGPanelProtocol.cxx
19                 FGPanelProtocol.hxx
20                 FGFontCache.cxx
21                 FGFontCache.hxx
22                 panel.cxx 
23                 panel.hxx
24                 panel_io.cxx
25                 panel_io.hxx
26         )
27
28         target_link_libraries(fgpanel 
29                 ${PNG_LIBRARIES}
30                 ${GLUT_LIBRARIES}
31                 ${SIMGEAR_CORE_LIBRARIES}
32                 ${OPENGL_LIBRARIES}
33                 ${PLIB_LIBRARIES}
34                 ${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}
35         )
36
37         include_directories(${PNG_INCLUDE_DIR})
38
39         install(TARGETS fgpanel RUNTIME DESTINATION bin)
40 else()
41         message(STATUS "glut NOT found, can't build fgpanel")
42 endif()