Merge topic 'FindPython-windows-arm64' into release-4.4

363cba1ae6 FindPython: Restore support for Windows ARM64

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12158
This commit is contained in:
Brad King
2026-06-10 13:51:57 +00:00
committed by Kitware Robot

View File

@@ -1167,7 +1167,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)