mirror of
https://github.com/reactos/CMake.git
synced 2025-01-21 02:45:05 +00:00
Checking for a definition is a usage
This commit is contained in:
parent
5625dee390
commit
89c25443a6
@ -2176,6 +2176,7 @@ const char* cmMakefile::GetRequiredDefinition(const char* name) const
|
||||
bool cmMakefile::IsDefinitionSet(const char* name) const
|
||||
{
|
||||
const char* def = this->Internal->VarStack.top().Get(name);
|
||||
this->Internal->VarUsageStack.top().insert(name);
|
||||
if(!def)
|
||||
{
|
||||
def = this->GetCacheManager()->GetCacheValue(name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user