Skip to content

Commit

Permalink
win: fix aarch64 binary
Browse files Browse the repository at this point in the history
  • Loading branch information
Chilledheart committed Jan 4, 2024
1 parent 3d0b028 commit 7f244f3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1632,11 +1632,11 @@ if (WIN32)
set(SUBSYSTEM_VERSION_SUFFIX ",5.02")
endif()
elseif(OS_AARCH64)
# Windows ARM64 requires Windows 10
set(SUBSYSTEM_VERSION_SUFFIX ",10.0")
else()
# 6.02 = Windows 8.1
# default value for arm64
set(SUBSYSTEM_VERSION_SUFFIX ",6.02")
else()
# default value for x86 and x64
set(SUBSYSTEM_VERSION_SUFFIX ",6.00")
endif()
endif()
if (MSVC)
Expand Down

0 comments on commit 7f244f3

Please sign in to comment.