Skip to content

Commit

Permalink
Merge pull request #615 from Chilledheart/win_fix_aarch64_binary
Browse files Browse the repository at this point in the history
win: fix aarch64 binary
  • Loading branch information
Chilledheart committed Jan 4, 2024
2 parents 094ab39 + 7f244f3 commit 4fc2a76
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 4fc2a76

Please sign in to comment.