diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2018-08-11 10:57:42 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2018-08-15 12:40:36 (GMT) |
commit | 174721ecc04036f5a68982a451a96e47f9ac0c8f (patch) | |
tree | e320fa4476db23682c4ea96441b940b5fa169c97 /Tests/RunCMake/target_link_options/RunCMakeTest.cmake | |
parent | 349f8bfb25349892fb2c4e5a9942e4bd63f86f49 (diff) | |
download | CMake-174721ecc04036f5a68982a451a96e47f9ac0c8f.zip CMake-174721ecc04036f5a68982a451a96e47f9ac0c8f.tar.gz CMake-174721ecc04036f5a68982a451a96e47f9ac0c8f.tar.bz2 |
LINK_OPTIONS property: add test for static library.
Check that property INTERFACE_LINK_OPTIONS is correctly propagated
from static libraries.
Issue: #18251
Diffstat (limited to 'Tests/RunCMake/target_link_options/RunCMakeTest.cmake')
-rw-r--r-- | Tests/RunCMake/target_link_options/RunCMakeTest.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/target_link_options/RunCMakeTest.cmake b/Tests/RunCMake/target_link_options/RunCMakeTest.cmake index 39f580f..1eaa5d2 100644 --- a/Tests/RunCMake/target_link_options/RunCMakeTest.cmake +++ b/Tests/RunCMake/target_link_options/RunCMakeTest.cmake @@ -21,6 +21,7 @@ if (NOT CMAKE_C_COMPILER_ID STREQUAL "Intel") run_cmake_target(LINK_OPTIONS basic LinkOptions) run_cmake_target(LINK_OPTIONS interface LinkOptions_consumer) + run_cmake_target(LINK_OPTIONS interface-static LinkOptions_consumer_static) run_cmake_target(LINK_OPTIONS static LinkOptions_static --config Release) run_cmake_target(LINK_OPTIONS shared LinkOptions_shared --config Release) run_cmake_target(LINK_OPTIONS mod LinkOptions_mod --config Release) |