]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/CMakeLists.txt
Interim windows build fix
[flightgear.git] / src / Main / CMakeLists.txt
index 949b379ddad705acdf3e6d348719bcb7a6e99fdc..4ea0fe523bf115bab90c07eafa1191e66c10563d 100644 (file)
@@ -130,13 +130,16 @@ endif()
 if (CRASHRPT_FOUND)
        target_link_libraries(fgfs ${CRASHRPT_LIBRARY})
 endif()
-
+if(X11_FOUND)
+    target_link_libraries(fgfs ${X11_LIBRARIES})
+endif()
 target_link_libraries(fgfs
        ${SQLITE3_LIBRARY}
        ${SIMGEAR_LIBRARIES}
        ${OPENSCENEGRAPH_LIBRARIES}
        ${OPENGL_LIBRARIES}
        ${PLIB_LIBRARIES}
+        ${ZLIB_LIBRARY}
        ${HLA_LIBRARIES}
        ${EVENT_INPUT_LIBRARIES}
        ${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}