1
0
Fork 0

cmake: Use ws2_32.lib instead of the WINSOCK_LIBRARY variable.

Fixup for commit 549c5eccb9.
Do not refer to the no longer existing WINSOCK_LIBRARY variable.
Instead, at this single place where it is used, just use ws2_32.lib.
This commit is contained in:
Mathias Froehlich 2011-09-11 12:13:55 +02:00
parent b09a2347a8
commit f4b45eca7e

View file

@ -159,7 +159,7 @@ if(${SIMGEAR_LIBRARIES} STREQUAL "SIMGEAR_LIBRARIES-NOTFOUND")
${ZLIB_LIBRARY})
if(WIN32)
list(APPEND SIMGEAR_CORE_LIBRARY_DEPENDENCIES ${WINSOCK_LIBRARY})
list(APPEND SIMGEAR_CORE_LIBRARY_DEPENDENCIES ws2_32.lib)
endif(WIN32)
if(NOT MSVC)