google / shaderc

A collection of tools, libraries, and tests for Vulkan shader compilation.
Other
1.79k stars 343 forks source link

Fix for cmake policy CMP0148 #1382

Closed stuart6854 closed 7 months ago

stuart6854 commented 7 months ago

FindPythonInterp has been deprecated since CMake 3.12. This change makes CMake use FindPython for version > 3.12 (otherwise it uses FindPythonInterp). Tested with CMake 3.27.

https://cmake.org/cmake/help/latest/policy/CMP0148.html

google-cla[bot] commented 7 months ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

dneto0 commented 7 months ago

Heh. You win a prize. The 1000th GitHub commit in this project. :-)