FindPython{Interp,Libs}: Add policy to remove these modules

The `FindPythonInterp` and `FindPythonLibs` modules have been deprecated
since CMake 3.12.  Add a policy to pretend they do not exist in order to
encourage projects to port to `FindPython` or `FindPython{2,3}`.
This commit is contained in:
Brad King
2023-03-30 10:13:07 -04:00
parent 4901fdb201
commit a4c5b91f80
38 changed files with 228 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
remove-FindPythonInterp-FindPythonLibs
--------------------------------------
* The :module:`FindPythonInterp` and :module:`FindPythonLibs` modules have
been fully deprecated via policy :policy:`CMP0148`. Port projects to
:module:`FindPython3`, :module:`FindPython2`, or :module:`FindPython`.