From 5cfdf3ec4c71a761d492fa31232b8ada16af9a35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D9=85=D9=87=D8=AF=D9=8A=20=D8=B4=D9=8A=D9=86=D9=88=D9=86?= =?UTF-8?q?=20=28Mehdi=20Chinoune=29?= <79349457+MehdiChinoune@users.noreply.github.com> Date: Fri, 20 Dec 2024 02:49:55 +0100 Subject: [PATCH] Fix building with CMake on MinGW-w64. (#439) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index be4cba05..a732519c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,7 +57,7 @@ else() endif() if (WIN32) - target_link_libraries(boost_process PUBLIC ntdll shell32 advapi32 user32) + target_link_libraries(boost_process PUBLIC ntdll shell32 advapi32 user32 ws2_32) endif() if(BUILD_SHARED_LIBS)