diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-12-31 14:52:07 +0100 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-01-06 17:25:10 +0100 |
commit | 9eb06d0dde52203d3f8ac91ea9a1c5396a09f8af (patch) | |
tree | 149b1c4230b12fc9848cdf99411f0274cb334c1c /Tests/InterfaceLibrary/libsdir | |
parent | 10d65d50195e0183120e102c043cc9c96a16a36b (diff) | |
download | cmake-9eb06d0dde52203d3f8ac91ea9a1c5396a09f8af.tar.gz |
add_library: Disallow invalid signatures for INTERFACE_LIBRARY.
Document the valid signatures. Add a test for the IMPORTED GLOBAL
signature.
Diffstat (limited to 'Tests/InterfaceLibrary/libsdir')
-rw-r--r-- | Tests/InterfaceLibrary/libsdir/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/InterfaceLibrary/libsdir/CMakeLists.txt b/Tests/InterfaceLibrary/libsdir/CMakeLists.txt index 6999646561..4e529dfb11 100644 --- a/Tests/InterfaceLibrary/libsdir/CMakeLists.txt +++ b/Tests/InterfaceLibrary/libsdir/CMakeLists.txt @@ -24,3 +24,5 @@ target_compile_definitions(shareddependlib add_library(shared_iface INTERFACE) target_link_libraries(shared_iface INTERFACE sharedlib) + +add_library(imported::iface INTERFACE IMPORTED GLOBAL) |