stevenlovegrove / Pangolin

Pangolin is a lightweight portable rapid development library for managing OpenGL display / interaction and abstracting video input.
MIT License
2.39k stars 855 forks source link

use 'Python3_EXECUTABLE' instead of 'Python_EXECUTABLE' #958

Closed christian-rauch closed 1 month ago

christian-rauch commented 1 month ago

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.

Fixes https://github.com/stevenlovegrove/Pangolin/issues/957.