diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-11-05 17:01:09 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-11-07 10:06:39 (GMT) |
commit | 301bb5cdda081f0bef0702e41ae4b47102b235df (patch) | |
tree | 2ee1e6000296f3db1358d70145daeafc36139e08 /Tests/RunCMake/CMP0038/CMP0038-WARN-stderr.txt | |
parent | 05f5fde0eb83c0e49aab3214f28a098861aa3313 (diff) | |
download | CMake-301bb5cdda081f0bef0702e41ae4b47102b235df.zip CMake-301bb5cdda081f0bef0702e41ae4b47102b235df.tar.gz CMake-301bb5cdda081f0bef0702e41ae4b47102b235df.tar.bz2 |
Disallow link-to-self (#13947).
Diffstat (limited to 'Tests/RunCMake/CMP0038/CMP0038-WARN-stderr.txt')
-rw-r--r-- | Tests/RunCMake/CMP0038/CMP0038-WARN-stderr.txt | 9 |
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. |