summaryrefslogtreecommitdiffstats
path: root/Modules/FindPython
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2022-05-03 08:46:13 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2022-05-03 08:46:13 (GMT)
commitfff8d5b212a21d4ed18537c9263ff02541ea09ba (patch)
tree0955f2de827df76641360c330a17d5ef91f7eecf /Modules/FindPython
parenta8c8842101b45370183eba6294b0178bc2abe55b (diff)
downloadCMake-fff8d5b212a21d4ed18537c9263ff02541ea09ba.zip
CMake-fff8d5b212a21d4ed18537c9263ff02541ea09ba.tar.gz
CMake-fff8d5b212a21d4ed18537c9263ff02541ea09ba.tar.bz2
FindPython: fix typo error
Fixes: #23476
Diffstat (limited to 'Modules/FindPython')
-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 8391f16..6edfbea 100644
--- a/Modules/FindPython/Support.cmake
+++ b/Modules/FindPython/Support.cmake
@@ -674,7 +674,7 @@ endfunction()
function (_PYTHON_GET_LAUNCHER _PYTHON_PGL_NAME)
cmake_parse_arguments (PARSE_ARGV 1 _PGL "INTERPRETER;COMPILER" "" "")
- unset ({_PYTHON_PGL_NAME} PARENT_SCOPE)
+ unset (${_PYTHON_PGL_NAME} PARENT_SCOPE)
if ((_PGL_INTERPRETER AND NOT _${_PYTHON_PREFIX}_EXECUTABLE)
OR (_PGL_COMPILER AND NOT _${_PYTHON_PREFIX}_COMPILER))