summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-05-04 15:07:03 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-05-04 15:07:10 (GMT)
commitd47e466935d51f41fac6edbb56e5bab7e8d4899e (patch)
treefd2016dd6b9178863e32fc43d8465e76f6f32c05
parent3d1d7d2b388e8b046fcd8cbb21863a4edfe8de8a (diff)
parentfff8d5b212a21d4ed18537c9263ff02541ea09ba (diff)
downloadCMake-d47e466935d51f41fac6edbb56e5bab7e8d4899e.zip
CMake-d47e466935d51f41fac6edbb56e5bab7e8d4899e.tar.gz
CMake-d47e466935d51f41fac6edbb56e5bab7e8d4899e.tar.bz2
Merge topic 'FindPython-fix-typo-error'
fff8d5b212 FindPython: fix typo error Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7233
-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))