Fixed Windows 7 compatibility

This commit is contained in:
SChernykh
2024-10-01 10:31:53 +02:00
parent 4dfdaf5447
commit 210ae3f9df
4 changed files with 64 additions and 1 deletions
+1 -1
View File
@@ -215,7 +215,7 @@ if (WITH_UPNP)
endif()
if (WIN32)
set(LIBS ${LIBS} ws2_32 iphlpapi userenv psapi dnsapi dbghelp)
set(LIBS ${LIBS} ws2_32 iphlpapi userenv psapi dnsapi dbghelp advapi32)
if (CMAKE_CXX_COMPILER_ID MATCHES GNU)
set(LIBS ${LIBS} bcrypt)
endif()