summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0028/CMP0028-OLD-iface.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-02-10 16:25:02 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-02-10 16:25:02 (GMT)
commitcdcf23bde25e4f9f1cdb88604a38045262c41a8b (patch)
tree138df33f84fea312945fcebeb5d4267ae8e136fd /Tests/RunCMake/CMP0028/CMP0028-OLD-iface.cmake
parentd51dc24e2b18e5d0ba61eccd55e34fb729d765fa (diff)
parentb29152387dc8b95895beb98d8f03d2b1c9532ed9 (diff)
downloadCMake-cdcf23bde25e4f9f1cdb88604a38045262c41a8b.zip
CMake-cdcf23bde25e4f9f1cdb88604a38045262c41a8b.tar.gz
CMake-cdcf23bde25e4f9f1cdb88604a38045262c41a8b.tar.bz2
Merge topic 'fix-CMP0028-iface'
b2915238 CMP0028: Trigger on libraries from INTERFACE of dependencies.
Diffstat (limited to 'Tests/RunCMake/CMP0028/CMP0028-OLD-iface.cmake')
-rw-r--r--Tests/RunCMake/CMP0028/CMP0028-OLD-iface.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0028/CMP0028-OLD-iface.cmake b/Tests/RunCMake/CMP0028/CMP0028-OLD-iface.cmake
new file mode 100644
index 0000000..d7bd60e
--- /dev/null
+++ b/Tests/RunCMake/CMP0028/CMP0028-OLD-iface.cmake
@@ -0,0 +1,7 @@
+
+cmake_policy(SET CMP0028 OLD)
+
+add_library(iface INTERFACE)
+target_link_libraries(iface INTERFACE External::Library)
+add_library(foo empty.cpp)
+target_link_libraries(foo iface)