mirror of
https://github.com/reactos/CMake.git
synced 2024-11-28 14:01:21 +00:00
Fix missing case for usage of a variable
This commit is contained in:
parent
980e048a7d
commit
056b44113f
@ -1649,6 +1649,7 @@ void cmMakefile::AddDefinition(const char* name, const char* value)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
this->Internal->VarStack.top().Set(name, value);
|
this->Internal->VarStack.top().Set(name, value);
|
||||||
|
this->Internal->VarInitStack.top().insert(name);
|
||||||
if (this->Internal->VarUsageStack.size() > 1)
|
if (this->Internal->VarUsageStack.size() > 1)
|
||||||
{
|
{
|
||||||
this->CheckForUnused("changing definition", name);
|
this->CheckForUnused("changing definition", name);
|
||||||
|
Loading…
Reference in New Issue
Block a user