summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/target_link_libraries/CMP0079-iface-common.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/target_link_libraries/CMP0079-iface-common.cmake')
-rw-r--r--Tests/RunCMake/target_link_libraries/CMP0079-iface-common.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/target_link_libraries/CMP0079-iface-common.cmake b/Tests/RunCMake/target_link_libraries/CMP0079-iface-common.cmake
new file mode 100644
index 0000000..3982ff2
--- /dev/null
+++ b/Tests/RunCMake/target_link_libraries/CMP0079-iface-common.cmake
@@ -0,0 +1,6 @@
+enable_language(C)
+
+add_executable(top empty.c)
+add_subdirectory(CMP0079-iface)
+get_property(libs TARGET top PROPERTY INTERFACE_LINK_LIBRARIES)
+message(STATUS "INTERFACE_LINK_LIBRARIES='${libs}'")