summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-02-22 13:26:00 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-02-22 13:26:11 (GMT)
commit312d0ccb6b97813e170ad8a82ce100cc35f11532 (patch)
treeaeb856d5a3a999391d0436ae2e6308b95afabe0c /Source/cmLocalGenerator.cxx
parenta4122c89c468540e8bcca284b94ba059a0955808 (diff)
parent5b8e9e068fc634459cfaeed90e20072ebaa01710 (diff)
downloadCMake-312d0ccb6b97813e170ad8a82ce100cc35f11532.zip
CMake-312d0ccb6b97813e170ad8a82ce100cc35f11532.tar.gz
CMake-312d0ccb6b97813e170ad8a82ce100cc35f11532.tar.bz2
Merge topic 'restore-link-interface-objlib-with-unity' into release-3.29
5b8e9e068f Restore support for TARGET_OBJECTS in link interfaces with unity builds 1313c78a9c Tests: Update RunCMake.TargetObjects cmake_minimum_required version Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9279
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 0e539fe..4afed43 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -2864,15 +2864,10 @@ void cmLocalGenerator::AddPchDependencies(cmGeneratorTarget* target)
cm::nullopt, true);
} else if (reuseTarget->GetType() ==
cmStateEnums::OBJECT_LIBRARY) {
- // FIXME: This can propagate more than one level, unlike
- // the rest of the object files in an object library.
- // Find another way to do this.
target->Target->AppendProperty(
"INTERFACE_LINK_LIBRARIES",
cmStrCat("$<$<CONFIG:", config,
">:$<LINK_ONLY:", pchSourceObj, ">>"));
- // We updated the link interface, so ensure it is recomputed.
- target->ClearLinkInterfaceCache();
}
}
} else {