From 6238f577dbe2506e7f65652ea4039a296eb83685 Mon Sep 17 00:00:00 2001 From: Jan Niklas Hasse Date: Wed, 4 Apr 2018 14:17:29 +0200 Subject: [PATCH] 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 --- build/cmake/lib/net/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/cmake/lib/net/CMakeLists.txt b/build/cmake/lib/net/CMakeLists.txt index 077148bae5..3d38412803 100644 --- a/build/cmake/lib/net/CMakeLists.txt +++ b/build/cmake/lib/net/CMakeLists.txt @@ -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)