From bebf63788f2165f8352fe08586526d056a3f547f Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 2 Jan 2024 03:08:14 +0000 Subject: [PATCH] cmake: disable ASM for Windows ARM64 With ASM support the builds either exit with an assert or hang (with asserts disabled). --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3b8c1aaa6f..78840b243e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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")