cmLinkItem: Expose HadHeadSensitiveCondition in cmLinkInterfaceLibraries

Clients may be able to avoid repeating work if they know the transitive
link interface libraries do not depend on what is linking them.
This commit is contained in:
Brad King committed 2019-07-23 10:06:35 -04:00
1 parent ad2b3a32d1
commit b5460f9931
1 file changed
+3 -1
+3 -1
View File
@@ -58,6 +58,9 @@ struct cmLinkInterfaceLibraries
{
// Libraries listed in the interface.
std::vector<cmLinkItem> Libraries;
// Whether the list depends on a genex referencing the head target.
bool HadHeadSensitiveCondition = false;
};
struct cmLinkInterface : public cmLinkInterfaceLibraries
@@ -84,7 +87,6 @@ struct cmOptionalLinkInterface : public cmLinkInterface
bool LibrariesDone = false;
bool AllDone = false;
bool Exists = false;
bool HadHeadSensitiveCondition = false;
const char* ExplicitLibraries = nullptr;
};