find_package(Python3 COMPONENTS Interpreter Development REQUIRED) sets Python3_FOUND and Python3_EXECUTABLE, but not Python_FOUND and Python_EXECUTABLE. Replace all uses of Python_EXECUTABLE with Python3_EXECUTABLE to make this consistent across the CMake project and prevent potential issues.
find_package(Python3 COMPONENTS Interpreter Development REQUIRED)
setsPython3_FOUND
andPython3_EXECUTABLE
, but notPython_FOUND
andPython_EXECUTABLE
. Replace all uses ofPython_EXECUTABLE
withPython3_EXECUTABLE
to make this consistent across the CMake project and prevent potential issues.Fixes https://github.com/stevenlovegrove/Pangolin/issues/957.