From e8c474a4324b162f8e72f4af93014bf087651cd9 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Tue, 28 Nov 2023 09:50:35 -0800 Subject: [PATCH] build: adjust process name matching The ARM64 build should use the ARM64 branch. The normal spelling for the CMAKE_SYSTEM_PROCESSOR is ARM64 when building with MSVC toolsets. This allows building for Windows ARM64 with MSBuild + CMake. --- util/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/CMakeLists.txt b/util/CMakeLists.txt index d3b1cf07f..0303d740c 100644 --- a/util/CMakeLists.txt +++ b/util/CMakeLists.txt @@ -385,7 +385,7 @@ if(WIN32) win/traits.h win/xp_compat.h ) - if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm") + if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm|ARM64") target_sources(crashpad_util PRIVATE misc/capture_context_win_arm64.asm )