From 07c027adfb674ae748b524d46917d2f149972341 Mon Sep 17 00:00:00 2001 From: Tristan Ayala Date: Mon, 15 Jul 2024 10:28:54 -0700 Subject: [PATCH] Change "Ws2_32" to "ws2_32" for MinGW compatibility with no adverse effect for native Windows build. (#763) Co-authored-by: Lev <1187448+levb@users.noreply.github.com> --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1bd5ed926..f72d597c0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -196,7 +196,7 @@ if(UNIX) elseif(WIN32) set(NATS_LIBDIR "lib") set(NATS_INCLUDE_DIR "include") - set(NATS_EXTRA_LIB "Ws2_32") + set(NATS_EXTRA_LIB "ws2_32") set(NATS_OS "_WIN32") set(NATS_PLATFORM_INCLUDE "win") if(sodium_USE_STATIC_LIBS)