summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2023-05-17 10:59:08 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2023-05-17 11:02:07 (GMT)
commit31faf3945fe0c076656e774ef86349d186d0ce78 (patch)
tree52f67b7bf9c2b589f3f2dc5a8d57ccd475d123b8 /Modules
parent624461526f4707a2406ebbd40245a605b6bd41fa (diff)
downloadCMake-31faf3945fe0c076656e774ef86349d186d0ce78.zip
CMake-31faf3945fe0c076656e774ef86349d186d0ce78.tar.gz
CMake-31faf3945fe0c076656e774ef86349d186d0ce78.tar.bz2
FindPython: fix interpreter launcher variable spelling
Reported-by: Johannes (#cmake Slack)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindPython/Support.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindPython/Support.cmake b/Modules/FindPython/Support.cmake
index 517ac21..f842068 100644
--- a/Modules/FindPython/Support.cmake
+++ b/Modules/FindPython/Support.cmake
@@ -2069,7 +2069,7 @@ if ("Interpreter" IN_LIST ${_PYTHON_PREFIX}_FIND_COMPONENTS)
# Use interpreter version and ABI for future searches to ensure consistency
set (_${_PYTHON_PREFIX}_FIND_VERSIONS ${${_PYTHON_PREFIX}_VERSION_MAJOR}.${${_PYTHON_PREFIX}_VERSION_MINOR})
- execute_process (COMMAND ${_${_PYTHON_PREFIX}_INTERPRETR_LAUNCHER} "${_${_PYTHON_PREFIX}_EXECUTABLE}" -c
+ execute_process (COMMAND ${_${_PYTHON_PREFIX}_INTERPRETER_LAUNCHER} "${_${_PYTHON_PREFIX}_EXECUTABLE}" -c
"import sys; sys.stdout.write(sys.abiflags)"
RESULT_VARIABLE _${_PYTHON_PREFIX}_RESULT
OUTPUT_VARIABLE _${_PYTHON_PREFIX}_ABIFLAGS