]> git.mxchange.org Git - flightgear.git/blobdiff - utils/fgviewer/CMakeLists.txt
cmake: Factor out common simgear dependency libs.
[flightgear.git] / utils / fgviewer / CMakeLists.txt
index 08ff3da346412b841f1372e372dff56b27f7839d..9a803e90a34a322b979380b69a8ff4fa4c7a69fc 100644 (file)
@@ -1,12 +1,12 @@
 
 add_executable(fgviewer fgviewer.cxx)
 
-target_link_libraries(fgviewer 
+target_link_libraries(fgviewer
        ${SIMGEAR_LIBRARIES}
-       ${OPENSCENEGRAPH_LIBRARIES} 
+       ${OPENSCENEGRAPH_LIBRARIES}
        ${OPENGL_LIBRARIES}
-       ${ZLIB_LIBRARIES}
        ${PLIB_LIBRARIES}
-       ${JS_LIBS})
-       
+        ${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}
+)
+
 install(TARGETS fgviewer RUNTIME DESTINATION bin)