diff options
author | Brad King <brad.king@kitware.com> | 2023-03-30 14:13:07 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-03-30 16:05:09 (GMT) |
commit | a4c5b91f80003d007cddbb0de95032d65ec98ace (patch) | |
tree | 591d68a94107253b48f6398a3188e1c89169e0c8 /Tests/RunCMake/include/RunCMakeTest.cmake | |
parent | 4901fdb201bc6264e976e105780a490d9c0eba19 (diff) | |
download | CMake-a4c5b91f80003d007cddbb0de95032d65ec98ace.zip CMake-a4c5b91f80003d007cddbb0de95032d65ec98ace.tar.gz CMake-a4c5b91f80003d007cddbb0de95032d65ec98ace.tar.bz2 |
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}`.
Diffstat (limited to 'Tests/RunCMake/include/RunCMakeTest.cmake')
-rw-r--r-- | Tests/RunCMake/include/RunCMakeTest.cmake | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/include/RunCMakeTest.cmake b/Tests/RunCMake/include/RunCMakeTest.cmake index b6fdb54..685173e 100644 --- a/Tests/RunCMake/include/RunCMakeTest.cmake +++ b/Tests/RunCMake/include/RunCMakeTest.cmake @@ -12,3 +12,12 @@ run_cmake(CMP0146-OLD) run_cmake(CMP0146-WARN) run_cmake(CMP0146-NEW-name) run_cmake(CMP0146-NEW-path) + +run_cmake(CMP0148-Interp-OLD) +run_cmake(CMP0148-Interp-WARN) +run_cmake(CMP0148-Interp-NEW-name) +run_cmake(CMP0148-Interp-NEW-path) +run_cmake(CMP0148-Libs-OLD) +run_cmake(CMP0148-Libs-WARN) +run_cmake(CMP0148-Libs-NEW-name) +run_cmake(CMP0148-Libs-NEW-path) |