summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GenEx-LINK_LIBRARY/no-arguments.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/GenEx-LINK_LIBRARY/no-arguments.cmake')
-rw-r--r--Tests/RunCMake/GenEx-LINK_LIBRARY/no-arguments.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/GenEx-LINK_LIBRARY/no-arguments.cmake b/Tests/RunCMake/GenEx-LINK_LIBRARY/no-arguments.cmake
new file mode 100644
index 0000000..0645dc7
--- /dev/null
+++ b/Tests/RunCMake/GenEx-LINK_LIBRARY/no-arguments.cmake
@@ -0,0 +1,4 @@
+enable_language(C)
+
+add_library(lib SHARED empty.c)
+target_link_libraries(lib PRIVATE "$<LINK_LIBRARY>")