]> git.mxchange.org Git - flightgear.git/blobdiff - src/Input/CMakeLists.txt
Autopilot: use SimGear function
[flightgear.git] / src / Input / CMakeLists.txt
index fcf154871d99021d6e679b2982482856a890d58e..e0d6abd30ca1065516d7ad69bec3f301bab9c545 100644 (file)
@@ -28,7 +28,12 @@ set(FGJS_SOURCES
        
 add_executable(fgjs ${FGJS_SOURCES})
 
+if(WIN32)
+   set(SOCKETS_LIBRARY wsock32.lib)
+endif(WIN32)
+
 target_link_libraries(fgjs 
+    ${SOCKETS_LIBRARY}
        ${SIMGEAR_LIBRARIES}
        ${PLIB_LIBRARIES}
        ${ZLIB_LIBRARY})