summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_libraries.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_libraries.cmake')
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_libraries.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_libraries.cmake b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_libraries.cmake
new file mode 100644
index 0000000000..d74c92d4b0
--- /dev/null
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_libraries.cmake
@@ -0,0 +1,7 @@
+
+enable_language(C)
+
+add_library(lib empty.c)
+
+add_executable(empty empty.c)
+target_link_libraries(empty PRIVATE $<HOST_LINK:lib>)