summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/include/CMP0148-Libs-WARN-stderr.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-03-30 14:13:07 (GMT)
committerBrad King <brad.king@kitware.com>2023-03-30 16:05:09 (GMT)
commita4c5b91f80003d007cddbb0de95032d65ec98ace (patch)
tree591d68a94107253b48f6398a3188e1c89169e0c8 /Tests/RunCMake/include/CMP0148-Libs-WARN-stderr.txt
parent4901fdb201bc6264e976e105780a490d9c0eba19 (diff)
downloadCMake-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/CMP0148-Libs-WARN-stderr.txt')
-rw-r--r--Tests/RunCMake/include/CMP0148-Libs-WARN-stderr.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/RunCMake/include/CMP0148-Libs-WARN-stderr.txt b/Tests/RunCMake/include/CMP0148-Libs-WARN-stderr.txt
new file mode 100644
index 0000000..c24abd4
--- /dev/null
+++ b/Tests/RunCMake/include/CMP0148-Libs-WARN-stderr.txt
@@ -0,0 +1,8 @@
+^CMake Warning \(dev\) at CMP0148-Libs-WARN\.cmake:[0-9]+ \(include\):
+ Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
+ are removed\. Run "cmake --help-policy CMP0148" for policy details\. Use
+ the cmake_policy command to set the policy and suppress this warning\.
+
+Call Stack \(most recent call first\):
+ CMakeLists\.txt:[0-9]+ \(include\)
+This warning is for project developers\. Use -Wno-dev to suppress it\.$