From a4f01b219a2ed04ebc02e5f3c5e007595d45fa4a Mon Sep 17 00:00:00 2001 From: Gustavo Dias Date: Thu, 11 Dec 2025 22:35:55 -0300 Subject: [PATCH] fix - w64devkit build --- vendor/cpp-httplib/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vendor/cpp-httplib/CMakeLists.txt b/vendor/cpp-httplib/CMakeLists.txt index 369502d7aec..e90e8e2d1b8 100644 --- a/vendor/cpp-httplib/CMakeLists.txt +++ b/vendor/cpp-httplib/CMakeLists.txt @@ -9,6 +9,10 @@ if (NOT MSVC) endif() target_link_libraries (${TARGET} PRIVATE Threads::Threads) + +if (WIN32 AND NOT MSVC) + target_link_libraries(${TARGET} PUBLIC ws2_32) +endif() target_compile_features(${TARGET} PRIVATE cxx_std_17) target_compile_definitions(${TARGET} PRIVATE