summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GenEx-HOST_LINK/link_depends.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/GenEx-HOST_LINK/link_depends.cmake')
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/link_depends.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/GenEx-HOST_LINK/link_depends.cmake b/Tests/RunCMake/GenEx-HOST_LINK/link_depends.cmake
new file mode 100644
index 0000000..0402f43
--- /dev/null
+++ b/Tests/RunCMake/GenEx-HOST_LINK/link_depends.cmake
@@ -0,0 +1,7 @@
+
+enable_language(C)
+
+add_library(lib empty.c)
+
+add_executable(empty empty.c)
+set_property(TARGET empty PROPERTY LINK_DEPENDS $<HOST_LINK:lib>)