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
This commit is contained in:
Julien Marrec
2026-06-09 08:21:56 -04:00
committed by Brad King
parent a49c06a85a
commit 363cba1ae6
+1 -1
View File
@@ -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)