2011-06-05 19:08:44 +00:00
|
|
|
#FIXME: does this work in windows?
|
|
|
|
find_package(PNG REQUIRED)
|
2011-06-05 15:04:41 +00:00
|
|
|
find_package(OpenGL REQUIRED)
|
2011-06-05 19:08:44 +00:00
|
|
|
find_package(GLUT REQUIRED)
|
2011-06-05 15:04:41 +00:00
|
|
|
|
|
|
|
add_executable(fgpanel main.cxx
|
|
|
|
FGGLApplication.cxx
|
|
|
|
FGPanelApplication.cxx
|
|
|
|
FGPNGTextureLoader.cxx
|
|
|
|
FGRGBTextureLoader.cxx
|
|
|
|
FGPanelProtocol.cxx
|
|
|
|
FGFontCache.cxx
|
|
|
|
panel.cxx
|
|
|
|
panel_io.cxx)
|
|
|
|
|
|
|
|
target_link_libraries(fgpanel
|
|
|
|
${PNG_LIBRARIES}
|
|
|
|
${GLUT_LIBRARIES}
|
|
|
|
${SIMGEAR_LIBRARIES}
|
|
|
|
${OPENGL_LIBRARIES}
|
|
|
|
${ZLIB_LIBRARIES}
|
|
|
|
${PLIB_LIBRARIES}
|
|
|
|
)
|
|
|
|
|
|
|
|
install(TARGETS fgpanel RUNTIME DESTINATION bin)
|