summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0039/CMP0039-WARN-stderr.txt
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-11-05 18:15:53 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-11-07 10:06:40 (GMT)
commit596b2a8c0820bed8195e2377927a18cf2d76727c (patch)
tree093b7a88d4d3b32dffce49dce5d57d27ceeaa1aa /Tests/RunCMake/CMP0039/CMP0039-WARN-stderr.txt
parent301bb5cdda081f0bef0702e41ae4b47102b235df (diff)
downloadCMake-596b2a8c0820bed8195e2377927a18cf2d76727c.zip
CMake-596b2a8c0820bed8195e2377927a18cf2d76727c.tar.gz
CMake-596b2a8c0820bed8195e2377927a18cf2d76727c.tar.bz2
Disallow linking to utility targets (#13902).
Diffstat (limited to 'Tests/RunCMake/CMP0039/CMP0039-WARN-stderr.txt')
-rw-r--r--Tests/RunCMake/CMP0039/CMP0039-WARN-stderr.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0039/CMP0039-WARN-stderr.txt b/Tests/RunCMake/CMP0039/CMP0039-WARN-stderr.txt
new file mode 100644
index 0000000..9387f8c
--- /dev/null
+++ b/Tests/RunCMake/CMP0039/CMP0039-WARN-stderr.txt
@@ -0,0 +1,10 @@
+CMake Warning \(dev\) at CMP0039-WARN.cmake:5 \(target_link_libraries\):
+ Policy CMP0039 is not set: Utility targets may not have link dependencies
+ Run "cmake --help-policy CMP0039" for policy details. Use the cmake_policy
+ command to set the policy and suppress this warning.
+
+ Utility target "utility" should not be used as the target of a
+ target_link_libraries call.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
+This warning is for project developers. Use -Wno-dev to suppress it.