From 099bfd988ba83adb6d757e560f39d9c575bd2ff1 Mon Sep 17 00:00:00 2001 From: Frederic Bouvier Date: Fri, 9 Sep 2011 21:38:02 +0200 Subject: [PATCH] fgfs and fgpanel need to be linked with the winsock library (on Windows) --- src/Main/CMakeLists.txt | 1 + utils/fgpanel/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+) 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} )