summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0028/CMP0028-NEW-iface.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CMP0028/CMP0028-NEW-iface.cmake')
-rw-r--r--Tests/RunCMake/CMP0028/CMP0028-NEW-iface.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0028/CMP0028-NEW-iface.cmake b/Tests/RunCMake/CMP0028/CMP0028-NEW-iface.cmake
new file mode 100644
index 0000000..1a71433
--- /dev/null
+++ b/Tests/RunCMake/CMP0028/CMP0028-NEW-iface.cmake
@@ -0,0 +1,7 @@
+
+cmake_policy(SET CMP0028 NEW)
+
+add_library(iface INTERFACE)
+target_link_libraries(iface INTERFACE External::Library)
+add_library(foo empty.cpp)
+target_link_libraries(foo iface)