Readd MSWSOCK_LIBRARY for MINGW

This commit is contained in:
spectranator 2024-05-06 23:30:50 +02:00
parent 12ccc468f4
commit 4ebd9dc2b5

View file

@ -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()