]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/CMakeLists.txt
Remove hard-coded values wherever possible;
[flightgear.git] / src / Main / CMakeLists.txt
index b7c7e961f2a7eacfefa6240ceb50a79ab451922e..e3e06aa8c323cc16aed0c32f38bcd1071d6841af 100644 (file)
@@ -73,13 +73,25 @@ target_link_libraries(fgfs
        ${FG_LIBS}
        ${SIMGEAR_LIBRARIES}
        ${OPENSCENEGRAPH_LIBRARIES}
+       ${ALUT_LIBRARY} 
        ${OPENAL_LIBRARY}
        ${OPENGL_LIBRARIES}
-       ${ALUT_LIBRARY}
        ${PLIB_LIBRARIES}
+       ${JPEG_LIBRARY}
        ${LIBSVN_LIBRARIES}
        ${HLA_LIBRARIES}
        ${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}
+       ${PLATFORM_LIBS}
 )
 
 install(TARGETS fgfs RUNTIME DESTINATION bin)
+
+add_executable(metar metar_main.cxx)
+target_link_libraries(metar
+       ${SIMGEAR_LIBRARIES}
+       ${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}
+       ${PLATFORM_LIBS}
+)
+
+install(TARGETS metar RUNTIME DESTINATION bin)
+