X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInput%2FCMakeLists.txt;h=e0d6abd30ca1065516d7ad69bec3f301bab9c545;hb=2ba4f3ddad94c6045160663578b66bb573fd05ac;hp=fcf154871d99021d6e679b2982482856a890d58e;hpb=a91ec5f9f91eb2ef83ed7f7bf8d0b0b91613ebf0;p=flightgear.git diff --git a/src/Input/CMakeLists.txt b/src/Input/CMakeLists.txt index fcf154871..e0d6abd30 100644 --- a/src/Input/CMakeLists.txt +++ b/src/Input/CMakeLists.txt @@ -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})