CI: added msys2-clang Windows build

This commit is contained in:
SChernykh
2023-08-15 13:31:28 +02:00
parent 2877e5dfc1
commit 7630c1a883
6 changed files with 54 additions and 12 deletions

View File

@@ -318,6 +318,8 @@ if (STATIC_BINARY OR STATIC_LIBS)
endif()
endif()
set(STATIC_LIBS "")
if (WITH_RANDOMX)
set(STATIC_LIBS randomx)
endif()
@@ -328,7 +330,7 @@ if (STATIC_BINARY OR STATIC_LIBS)
if (WIN32)
set(STATIC_LIBS ${STATIC_LIBS} ws2_32 iphlpapi userenv psapi dnsapi dbghelp)
if (CMAKE_CXX_COMPILER_ID MATCHES GNU)
if ((CMAKE_CXX_COMPILER_ID MATCHES GNU) OR (CMAKE_CXX_COMPILER_ID MATCHES Clang))
set(STATIC_LIBS ${STATIC_LIBS} bcrypt)
endif()
elseif (CMAKE_SYSTEM_NAME STREQUAL FreeBSD)