From: Frederic Bouvier Date: Fri, 9 Sep 2011 19:38:02 +0000 (+0200) Subject: fgfs and fgpanel need to be linked with the winsock library (on Windows) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=099bfd988ba83adb6d757e560f39d9c575bd2ff1;p=flightgear.git fgfs and fgpanel need to be linked with the winsock library (on Windows) --- diff --git a/src/Main/CMakeLists.txt b/src/Main/CMakeLists.txt index 5818335d3..dd1f6d6a9 100644 --- a/src/Main/CMakeLists.txt +++ b/src/Main/CMakeLists.txt @@ -80,6 +80,7 @@ target_link_libraries(fgfs ${ZLIB_LIBRARIES} ${PLIB_LIBRARIES} ${LIBSVN_LIBRARIES} + ${WINSOCK_LIBRARY} ${RT_LIBRARY}) install(TARGETS fgfs RUNTIME DESTINATION bin) diff --git a/utils/fgpanel/CMakeLists.txt b/utils/fgpanel/CMakeLists.txt index 3307beb77..48d905600 100644 --- a/utils/fgpanel/CMakeLists.txt +++ b/utils/fgpanel/CMakeLists.txt @@ -22,6 +22,7 @@ if(GLUT_FOUND) ${OPENGL_LIBRARIES} ${ZLIB_LIBRARIES} ${PLIB_LIBRARIES} + ${WINSOCK_LIBRARY} ${RT_LIBRARY} )