cmGetCMakePropertyCommand: Clean up VARIABLES handling.
This commit is contained in:
parent
52f2261685
commit
a622b829bd
|
@ -32,10 +32,9 @@ bool cmGetCMakePropertyCommand
|
||||||
|
|
||||||
if ( args[1] == "VARIABLES" )
|
if ( args[1] == "VARIABLES" )
|
||||||
{
|
{
|
||||||
std::vector<std::string> vars = this->Makefile->GetDefinitions();
|
if (const char* varsProp = this->Makefile->GetProperty("VARIABLES"))
|
||||||
if (!vars.empty())
|
|
||||||
{
|
{
|
||||||
output = cmJoin(vars, ";");
|
output = varsProp;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if ( args[1] == "MACROS" )
|
else if ( args[1] == "MACROS" )
|
||||||
|
|
Loading…
Reference in New Issue