From b5460f99315f8e6a6bdc985ebc0ca18dd8a294a8 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 23 Jul 2019 09:52:33 -0400 Subject: 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. --- Source/cmLinkItem.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/cmLinkItem.h b/Source/cmLinkItem.h index 5b635b5..6450c62 100644 --- a/Source/cmLinkItem.h +++ b/Source/cmLinkItem.h @@ -58,6 +58,9 @@ struct cmLinkInterfaceLibraries { // Libraries listed in the interface. std::vector 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; }; -- cgit v0.12