From 4ebd9dc2b5a3a95958a3474f615e8788b14ad468 Mon Sep 17 00:00:00 2001 From: spectranator Date: Mon, 6 May 2024 23:30:50 +0200 Subject: [PATCH] Readd MSWSOCK_LIBRARY for MINGW --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index b5f26af545..512306e97b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -344,6 +344,11 @@ if (YUZU_TESTS) find_package(Catch2 3.0.1 REQUIRED) endif() +# boost:asio has functions that require AcceptEx et al +if (MINGW) + find_library(MSWSOCK_LIBRARY mswsock REQUIRED) +endif() + if(ENABLE_OPENSSL) find_package(OpenSSL 1.1.1 REQUIRED) endif()