Skip to content

Commit

Permalink
cmake: disable ASM for Windows ARM64
Browse files Browse the repository at this point in the history
With ASM support the builds either exit with an assert or hang
(with asserts disabled).
  • Loading branch information
vszakats committed Jan 2, 2024
1 parent 0b6d661 commit bebf637
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,9 @@ endif()

if(CMAKE_SYSTEM_PROCESSOR MATCHES "(aarch64|arm64|ARM64)")
set(HOST_AARCH64 true)
if(WIN32)
set(ENABLE_ASM false)
endif()
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "arm")
set(HOST_ARM true)
elseif(CMAKE_SYSTEM_NAME STREQUAL "SunOS" AND CMAKE_SYSTEM_PROCESSOR MATCHES "i386")
Expand Down

0 comments on commit bebf637

Please sign in to comment.