summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/interface_library/add_dependencies.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/interface_library/add_dependencies.cmake')
-rw-r--r--Tests/RunCMake/interface_library/add_dependencies.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/interface_library/add_dependencies.cmake b/Tests/RunCMake/interface_library/add_dependencies.cmake
new file mode 100644
index 0000000..12cdfb4
--- /dev/null
+++ b/Tests/RunCMake/interface_library/add_dependencies.cmake
@@ -0,0 +1,4 @@
+
+add_library(foo empty.cpp)
+add_library(iface INTERFACE)
+add_dependencies(iface foo)