diff options
author | Brad King <brad.king@kitware.com> | 2014-02-10 16:25:02 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-02-10 16:25:02 (GMT) |
commit | cdcf23bde25e4f9f1cdb88604a38045262c41a8b (patch) | |
tree | 138df33f84fea312945fcebeb5d4267ae8e136fd /Tests/RunCMake/CMP0028/CMP0028-OLD-iface.cmake | |
parent | d51dc24e2b18e5d0ba61eccd55e34fb729d765fa (diff) | |
parent | b29152387dc8b95895beb98d8f03d2b1c9532ed9 (diff) | |
download | CMake-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.cmake | 7 |
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) |