mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user