mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-21 13:48:33 -05:00
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:
+3
-1
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user