summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeCommands
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-01-10 15:22:26 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-01-10 15:22:26 (GMT)
commit2341470673294badb4eb4447f6878cef21f01b81 (patch)
tree1849e26d92145dbca1f884a36a5a9047fc670e33 /Tests/CMakeCommands
parent42d9df9f4f5b06de0f75859cc40750c9b8eec9a1 (diff)
parent9cfe4f1b769597bd9ba179eba46572a9df27f64c (diff)
downloadCMake-2341470673294badb4eb4447f6878cef21f01b81.zip
CMake-2341470673294badb4eb4447f6878cef21f01b81.tar.gz
CMake-2341470673294badb4eb4447f6878cef21f01b81.tar.bz2
Merge topic 'tll-IMPORTED-targets'
9cfe4f1 Allow target_link_libraries with IMPORTED targets.
Diffstat (limited to 'Tests/CMakeCommands')
-rw-r--r--Tests/CMakeCommands/target_link_libraries/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/CMakeCommands/target_link_libraries/CMakeLists.txt b/Tests/CMakeCommands/target_link_libraries/CMakeLists.txt
index 6ffef3f..746d30c 100644
--- a/Tests/CMakeCommands/target_link_libraries/CMakeLists.txt
+++ b/Tests/CMakeCommands/target_link_libraries/CMakeLists.txt
@@ -29,6 +29,9 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
add_library(depA SHARED depA.cpp)
generate_export_header(depA)
+add_library(importedlib UNKNOWN IMPORTED)
+target_link_libraries(importedlib LINK_INTERFACE_LIBRARIES depA)
+
add_library(depB SHARED depB.cpp)
generate_export_header(depB)