diff options
author | Brad King <brad.king@kitware.com> | 2021-12-15 21:26:55 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-12-16 15:39:41 (GMT) |
commit | 0dcbf4ab588fc80a8b51d91de5c5518b13224c76 (patch) | |
tree | 39a7e2871746aec2f40dfacd637e773320c5d04c | |
parent | d5026daa9e9fb53893df5c2cd4a536e3016e1955 (diff) | |
download | CMake-0dcbf4ab588fc80a8b51d91de5c5518b13224c76.zip CMake-0dcbf4ab588fc80a8b51d91de5c5518b13224c76.tar.gz CMake-0dcbf4ab588fc80a8b51d91de5c5518b13224c76.tar.bz2 |
cmGeneratorTarget: Record when imported target link iface libs are done
`GetImportLinkInterface` populates the link interface from properties
of imported targets. Make it more closely match the link interface
of in-project targets by recording the `LibrariesDone` field.
-rw-r--r-- | Source/cmGeneratorTarget.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx index 1493f24..cdaf44c 100644 --- a/Source/cmGeneratorTarget.cxx +++ b/Source/cmGeneratorTarget.cxx @@ -7284,6 +7284,7 @@ const cmLinkInterface* cmGeneratorTarget::GetImportLinkInterface( cmOptionalLinkInterface& iface = hm[headTarget]; if (!iface.AllDone) { iface.AllDone = true; + iface.LibrariesDone = true; iface.Multiplicity = info->Multiplicity; cmExpandList(info->Languages, iface.Languages); this->ExpandLinkItems(info->LibrariesProp, cmMakeRange(info->Libraries), |