summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-06-15 13:00:07 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-06-15 13:00:12 (GMT)
commitca727a5ff1dbf79b0cb47b5ae3efd6b14a434e55 (patch)
treed2243617412a8fe4f59562d5d0e33aa7fdb8e7ab /Tests
parent109ded58ab1c0d70c00cdfad11cb51edca54f3ac (diff)
parent9710790a39e2c075eeef06ed529d568385a4f445 (diff)
downloadCMake-ca727a5ff1dbf79b0cb47b5ae3efd6b14a434e55.zip
CMake-ca727a5ff1dbf79b0cb47b5ae3efd6b14a434e55.tar.gz
CMake-ca727a5ff1dbf79b0cb47b5ae3efd6b14a434e55.tar.bz2
Merge topic 'deprecate-policy-old'
9710790a39 Help/dev: Add maintainer guide step for initial post-release development 6f6651f728 Add deprecation warnings for policies CMP0072 and below Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4884
Diffstat (limited to 'Tests')
-rw-r--r--Tests/RunCMake/FindOpenGL/CMP0072-OLD-stderr.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/RunCMake/FindOpenGL/CMP0072-OLD-stderr.txt b/Tests/RunCMake/FindOpenGL/CMP0072-OLD-stderr.txt
new file mode 100644
index 0000000..68d23d4
--- /dev/null
+++ b/Tests/RunCMake/FindOpenGL/CMP0072-OLD-stderr.txt
@@ -0,0 +1,10 @@
+^CMake Deprecation Warning at CMP0072-OLD.cmake:1 \(cmake_policy\):
+ The OLD behavior for policy CMP0072 will be removed from a future version
+ of CMake.
+
+ The cmake-policies\(7\) manual explains that the OLD behaviors of all
+ policies are deprecated and that a policy should be set to OLD only under
+ specific short-term circumstances. Projects should be ported to the NEW
+ behavior and not rely on setting a policy to OLD.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)$