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")