summaryrefslogtreecommitdiff
path: root/Modules/FindPython
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2022-05-03 10:46:13 +0200
committerMarc Chevrier <marc.chevrier@gmail.com>2022-05-03 10:46:13 +0200
commitfff8d5b212a21d4ed18537c9263ff02541ea09ba (patch)
tree0955f2de827df76641360c330a17d5ef91f7eecf /Modules/FindPython
parenta8c8842101b45370183eba6294b0178bc2abe55b (diff)
downloadcmake-fff8d5b212a21d4ed18537c9263ff02541ea09ba.tar.gz
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 8391f1625b..6edfbea2d2 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))