summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0028/CMP0028-WARN-iface.cmake
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-02-09 14:35:28 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-02-09 14:35:28 (GMT)
commitb29152387dc8b95895beb98d8f03d2b1c9532ed9 (patch)
treef25eee0fd19d4cf889a55e90f4e1b65dff947953 /Tests/RunCMake/CMP0028/CMP0028-WARN-iface.cmake
parent1cc3e9f2e73b96370257b55f9c96586a898fe9a4 (diff)
downloadCMake-b29152387dc8b95895beb98d8f03d2b1c9532ed9.zip
CMake-b29152387dc8b95895beb98d8f03d2b1c9532ed9.tar.gz
CMake-b29152387dc8b95895beb98d8f03d2b1c9532ed9.tar.bz2
CMP0028: Trigger on libraries from INTERFACE of dependencies.
Diffstat (limited to 'Tests/RunCMake/CMP0028/CMP0028-WARN-iface.cmake')
-rw-r--r--Tests/RunCMake/CMP0028/CMP0028-WARN-iface.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0028/CMP0028-WARN-iface.cmake b/Tests/RunCMake/CMP0028/CMP0028-WARN-iface.cmake
new file mode 100644
index 0000000..9270023
--- /dev/null
+++ b/Tests/RunCMake/CMP0028/CMP0028-WARN-iface.cmake
@@ -0,0 +1,5 @@
+
+add_library(iface INTERFACE)
+target_link_libraries(iface INTERFACE External::Library)
+add_library(foo empty.cpp)
+target_link_libraries(foo iface)