From 363cba1ae60d89b35f6c29f40d2c279e4cb59110 Mon Sep 17 00:00:00 2001 From: Julien Marrec Date: Tue, 9 Jun 2026 11:44:16 +0200 Subject: [PATCH] FindPython: Restore support for Windows ARM64 Fix a typo from commit 51e1459947 (FindPython: enhance ARCHITECTURE detection, 2026-02-20, v4.3.0-rc2~21^2). Fixes: #27864 --- Modules/FindPython/Support.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/FindPython/Support.cmake b/Modules/FindPython/Support.cmake index 6029be0e2a..455260cc6c 100644 --- a/Modules/FindPython/Support.cmake +++ b/Modules/FindPython/Support.cmake @@ -1155,7 +1155,7 @@ function (_PYTHON_VALIDATE_INTERPRETER) if (WIN32) # In this case, check if the interpreter is compatible with the target processor architecture - if (_$_PYTHON_PREFIX}_ARCHITECTURE_ID MATCHES "ARM") + if (_${_PYTHON_PREFIX}_ARCHITECTURE_ID MATCHES "ARM") set(target_arm TRUE) else() set(target_arm FALSE)