Skip to content

Commit

Permalink
Change "Ws2_32" to "ws2_32" for MinGW compatibility with no adverse e…
Browse files Browse the repository at this point in the history
…ffect for native Windows build. (#763)

Co-authored-by: Lev <[email protected]>
  • Loading branch information
XJ-0461 and levb committed Oct 1, 2024
1 parent 024558e commit 07c027a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 07c027a

Please sign in to comment.