Initial Windows ARM64 support via MSYS2.

This commit is contained in:
XMRig
2025-06-13 03:00:34 +07:00
parent 8e25d54661
commit 3060e76bf5
6 changed files with 26 additions and 17 deletions

View File

@@ -84,7 +84,7 @@ elseif (CMAKE_CXX_COMPILER_ID MATCHES Clang)
endif()
endif()
if (BUILD_STATIC)
if (BUILD_STATIC OR WIN32)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -static")
endif()