diff options
author | Brad King <brad.king@kitware.com> | 2008-08-18 14:11:29 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-08-18 14:11:29 (GMT) |
commit | 94c1fe83fd1ef121f592554df0dedda5416afeba (patch) | |
tree | 095fb063b2de24dabfbf1aed1f72a56da94a936e /Tests | |
parent | 7f7068e9d48666ce58f6ba9455a52e7fadee9d6f (diff) | |
download | CMake-94c1fe83fd1ef121f592554df0dedda5416afeba.zip CMake-94c1fe83fd1ef121f592554df0dedda5416afeba.tar.gz CMake-94c1fe83fd1ef121f592554df0dedda5416afeba.tar.bz2 |
ENH: Make link interface mode more distinct
Rename the recently added INTERFACE mode of the target_link_libraries()
command to LINK_INTERFACE_LIBRARIES. This makes it much more distinct
from a normal call to the command, and clearly states its connection to
the property of the same name. Also require the option to appear
immediately after the target name to make it a mode rather than an
option.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/ExportImport/Export/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/ExportImport/Export/CMakeLists.txt b/Tests/ExportImport/Export/CMakeLists.txt index f0c9017..5955307 100644 --- a/Tests/ExportImport/Export/CMakeLists.txt +++ b/Tests/ExportImport/Export/CMakeLists.txt @@ -54,7 +54,8 @@ add_library(testLib4libopt STATIC testLib4libdbg.c testLib4libopt${VS6}.c) set_property(TARGET testLib4libdbg PROPERTY COMPILE_DEFINITIONS LIB_DBG) set_property(TARGET testLib4libopt PROPERTY COMPILE_DEFINITIONS LIB_OPT) target_link_libraries(testLib4 - INTERFACE testLib4lib debug testLib4libdbg optimized testLib4libopt + LINK_INTERFACE_LIBRARIES + testLib4lib debug testLib4libdbg optimized testLib4libopt ) add_executable(testExe3 testExe3.c) |