diff options
author | Brad King <brad.king@kitware.com> | 2014-03-13 13:36:06 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-03-13 13:36:06 (GMT) |
commit | e1a671c7d821e3e240fc2eaf60b0572c8aed31e6 (patch) | |
tree | 4c6a63752bc95aa3234c66ec19013346dd53c6ec /Tests/RunCMake/CMP0046/CMP0046-Duplicate.cmake | |
parent | 4a6a59a120eeb9a60e0da77eb701af80439a34db (diff) | |
parent | d83245a34f870c373c6db8de94792608f133be58 (diff) | |
download | CMake-e1a671c7d821e3e240fc2eaf60b0572c8aed31e6.zip CMake-e1a671c7d821e3e240fc2eaf60b0572c8aed31e6.tar.gz CMake-e1a671c7d821e3e240fc2eaf60b0572c8aed31e6.tar.bz2 |
Merge topic 'fix-CMP0046-warning'
d83245a3 cmTarget: Don't create duplicate backtraces in CMP0046 warning
Diffstat (limited to 'Tests/RunCMake/CMP0046/CMP0046-Duplicate.cmake')
-rw-r--r-- | Tests/RunCMake/CMP0046/CMP0046-Duplicate.cmake | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0046/CMP0046-Duplicate.cmake b/Tests/RunCMake/CMP0046/CMP0046-Duplicate.cmake new file mode 100644 index 0000000..26e640b --- /dev/null +++ b/Tests/RunCMake/CMP0046/CMP0046-Duplicate.cmake @@ -0,0 +1,9 @@ + +add_library(dummy empty.cpp) + +macro(add_dep) + add_dependencies(dummy ctgt_no_exist) +endmacro() + +add_dep() +add_dep() |