Missing $ in FindPython/Support.cmake
The line unset ({_PYTHON_PGL_NAME} PARENT_SCOPE)
in the _PYTHON_GET_LAUNCHER
function is missing a $ which makes the check for python fail if one happens to set "launcher" to something with a space before trying to find python3.
CMakeLists.txt to trigger the problem:
cmake_minimum_required(VERSION 3.22)
project(Test)
set(launcher "env FOO=bar")
find_package(Python3 REQUIRED)