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-NEW.cmake | |
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-NEW.cmake')
-rw-r--r-- | Tests/RunCMake/CMP0038/CMP0038-NEW.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0038/CMP0038-NEW.cmake b/Tests/RunCMake/CMP0038/CMP0038-NEW.cmake new file mode 100644 index 0000000..6296b83 --- /dev/null +++ b/Tests/RunCMake/CMP0038/CMP0038-NEW.cmake @@ -0,0 +1,4 @@ + +cmake_policy(SET CMP0038 NEW) +add_library(self_link empty.cpp) +target_link_libraries(self_link self_link) |