summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0038/CMP0038-WARN-stderr.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CMP0038/CMP0038-WARN-stderr.txt')
-rw-r--r--Tests/RunCMake/CMP0038/CMP0038-WARN-stderr.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0038/CMP0038-WARN-stderr.txt b/Tests/RunCMake/CMP0038/CMP0038-WARN-stderr.txt
new file mode 100644
index 0000000..64631e7
--- /dev/null
+++ b/Tests/RunCMake/CMP0038/CMP0038-WARN-stderr.txt
@@ -0,0 +1,9 @@
+CMake Warning \(dev\) at CMP0038-WARN.cmake:2 \(add_library\):
+ Policy CMP0038 is not set: Targets may not link directly to themselves.
+ Run "cmake --help-policy CMP0038" for policy details. Use the cmake_policy
+ command to set the policy and suppress this warning.
+
+ Target "self_link" links to itself.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.