diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-02-09 14:35:28 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-02-09 14:35:28 (GMT) |
commit | b29152387dc8b95895beb98d8f03d2b1c9532ed9 (patch) | |
tree | f25eee0fd19d4cf889a55e90f4e1b65dff947953 /Tests/RunCMake/CMP0028/CMP0028-WARN-iface.cmake | |
parent | 1cc3e9f2e73b96370257b55f9c96586a898fe9a4 (diff) | |
download | CMake-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.cmake | 5 |
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) |