CMake 3.20 will introduce
Python3_FIND_UNVERSIONED_NAMES and its evaluation are just a couple of lines from
Modules/FindPython/Support.cmake. I need this change in my project but I cannot require CMake 3.20, I have to stick with 3.13.
I thought about including FindPython3.cmake and Support.cmake into my project. Then this is called instead of the file coming with (older) CMake installations. But for users with a newer CMake (3.20.1, 3.21, …), I don’t them to be forced to the older file provided by my project.
Is there a way to select / define which Find*.cmake file is used?