Fix cross-compiling with CMake due to wrong ws2_32 case

Use "ws2_32" in lower-case to ensure the library is found when
cross-compiling and using a case-sensitive filesystem.

Closes https://github.com/wxWidgets/wxWidgets/pull/772
This commit is contained in:
Jan Niklas Hasse 2018-04-04 14:17:29 +02:00 committed by Vadim Zeitlin
parent 4cdd3001c2
commit 6238f577db

View File

@ -24,7 +24,7 @@ endif()
wx_add_library(net IS_BASE ${NET_FILES})
if(WIN32)
wx_lib_link_libraries(net PRIVATE Ws2_32)
wx_lib_link_libraries(net PRIVATE ws2_32)
endif()
wx_finalize_lib(net)