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:09 (GMT)
commit6ce2e0b5f90916208751a1dfc75e5d6e2f9398e6 (patch)
treeff6baf17e676ac87305f492f334e2b61de92d1db
parent28957f7f2502830edc7753a5a7e1db7cc0b16ab4 (diff)
parentfff8d5b212a21d4ed18537c9263ff02541ea09ba (diff)
downloadCMake-6ce2e0b5f90916208751a1dfc75e5d6e2f9398e6.zip
CMake-6ce2e0b5f90916208751a1dfc75e5d6e2f9398e6.tar.gz
CMake-6ce2e0b5f90916208751a1dfc75e5d6e2f9398e6.tar.bz2
Merge topic 'FindPython-fix-typo-error' into release-3.23
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))