From 463048128e9d035a7379f5ccb260ebe4ae3b441b Mon Sep 17 00:00:00 2001 From: neru Date: Fri, 20 Mar 2026 04:23:35 -0300 Subject: [PATCH] build: link winsock2 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index abb366e..0168c61 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,6 +57,6 @@ endif() # ------------------------------ file(GLOB_RECURSE UNLOCKER_SOURCES CONFIGURE_DEPENDS "src/unlocker/*.cpp" "src/unlocker/*.h") add_executable(dbd-unlocker ${UNLOCKER_SOURCES}) -target_link_libraries(dbd-unlocker PRIVATE dbd-unlocker-warnings ${OPENSSL_LIBRARIES} nerutils) +target_link_libraries(dbd-unlocker PRIVATE dbd-unlocker-warnings ${OPENSSL_LIBRARIES} nerutils wsock32 ws2_32) target_include_directories(dbd-unlocker PRIVATE ${OPENSSL_INCLUDE__DIR}) group_files("${UNLOCKER_SOURCES}")