summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0046/CMP0046-Duplicate.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CMP0046/CMP0046-Duplicate.cmake')
-rw-r--r--Tests/RunCMake/CMP0046/CMP0046-Duplicate.cmake9
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()