summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/include/CMP0024-WARN-stderr.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-03-07 21:59:18 (GMT)
committerBrad King <brad.king@kitware.com>2023-03-07 22:47:26 (GMT)
commitedf7888f70c00a59a11dfeb5cf58c9f0e12389df (patch)
treed61c24904d71430267b0e117373fe230fd8d164d /Tests/RunCMake/include/CMP0024-WARN-stderr.txt
parent3d6075da4df6a4f93a835e446c2bbf29488f50bd (diff)
downloadCMake-edf7888f70c00a59a11dfeb5cf58c9f0e12389df.zip
CMake-edf7888f70c00a59a11dfeb5cf58c9f0e12389df.tar.gz
CMake-edf7888f70c00a59a11dfeb5cf58c9f0e12389df.tar.bz2
Tests: Update RunCMake.include cmake_minimum_required version
This was missed in commit 1edf138506 (Tests/RunCMake: Update cmake_minimum_required versions, 2023-02-06). Also tighten up some expected stderr content to catch these cases during similar updates in the future.
Diffstat (limited to 'Tests/RunCMake/include/CMP0024-WARN-stderr.txt')
-rw-r--r--Tests/RunCMake/include/CMP0024-WARN-stderr.txt26
1 files changed, 18 insertions, 8 deletions
diff --git a/Tests/RunCMake/include/CMP0024-WARN-stderr.txt b/Tests/RunCMake/include/CMP0024-WARN-stderr.txt
index 9c79007..8472f41 100644
--- a/Tests/RunCMake/include/CMP0024-WARN-stderr.txt
+++ b/Tests/RunCMake/include/CMP0024-WARN-stderr.txt
@@ -1,14 +1,24 @@
-CMake Warning \(dev\) at subdir2/CMakeLists.txt:2 \(include\):
+^CMake Deprecation Warning at CMP0024-WARN\.cmake:[0-9]+ \(cmake_policy\):
+ Compatibility with CMake < 3\.5 will be removed from a future version of
+ CMake.
+
+ Update the VERSION argument <min> value or use a \.\.\.<max> suffix to tell
+ CMake that the project does not need compatibility with older versions\.
+Call Stack \(most recent call first\):
+ CMakeLists\.txt:[0-9]+ \(include\)
++
+CMake Warning \(dev\) at subdir2/CMakeLists\.txt:2 \(include\):
Policy CMP0024 is not set: Disallow include export result. Run "cmake
- --help-policy CMP0024" for policy details. Use the cmake_policy command to
- set the policy and suppress this warning.
+ --help-policy CMP0024" for policy details\. Use the cmake_policy command to
+ set the policy and suppress this warning\.
The file
- .*/Tests/RunCMake/include/CMP0024-WARN-build/subdir1/theTargets.cmake
+ [^
+]*/Tests/RunCMake/include/CMP0024-WARN-build/subdir1/theTargets\.cmake
- was generated by the export\(\) command. It should not be used as the
- argument to the include\(\) command. Use ALIAS targets instead to refer to
- targets by alternative names.
+ was generated by the export\(\) command\. It should not be used as the
+ argument to the include\(\) command\. Use ALIAS targets instead to refer to
+ targets by alternative names\.
-This warning is for project developers. Use -Wno-dev to suppress it.
+This warning is for project developers\. Use -Wno-dev to suppress it\.