summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/ObjectLibrary/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2018-12-10 15:39:22 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2018-12-10 19:57:28 (GMT)
commitbab24e782c1bf56ef7263e91e5cf78879699a036 (patch)
tree2be453e95172a5134100afd077b76de7b27da3ce /Tests/RunCMake/ObjectLibrary/RunCMakeTest.cmake
parent8c7367e3f0e5e104630857561b4730a0b32253f9 (diff)
downloadCMake-bab24e782c1bf56ef7263e91e5cf78879699a036.zip
CMake-bab24e782c1bf56ef7263e91e5cf78879699a036.tar.gz
CMake-bab24e782c1bf56ef7263e91e5cf78879699a036.tar.bz2
target_link_libraries: Propagate dependencies of object libraries
Prior to this commit, linking against an object library did not propagate private link dependencies of object libraries to their consuming targets. This change implements the correct behavior. Fixes: #18692 Co-Author: Brad King <brad.king@kitware.com>
Diffstat (limited to 'Tests/RunCMake/ObjectLibrary/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/ObjectLibrary/RunCMakeTest.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/ObjectLibrary/RunCMakeTest.cmake b/Tests/RunCMake/ObjectLibrary/RunCMakeTest.cmake
index c73732f..6ca33b8 100644
--- a/Tests/RunCMake/ObjectLibrary/RunCMakeTest.cmake
+++ b/Tests/RunCMake/ObjectLibrary/RunCMakeTest.cmake
@@ -45,6 +45,7 @@ run_object_lib_build2(LinkObjRHSObject)
run_object_lib_build(LinkObjRHSShared2)
run_object_lib_build(LinkObjRHSStatic2)
run_object_lib_build2(LinkObjRHSObject2)
+run_object_lib_build(TransitiveDependencies)
run_cmake(MissingSource)
run_cmake(ObjWithObj)