Process COMPILE_DEFINITIONS as generator expressions in QtAutomoc.
Fixes #13493.
This commit is contained in:
parent
0e10782ba7
commit
429e369974
|
@ -229,7 +229,11 @@ void cmQtAutomoc::SetupAutomocTarget(cmTarget* target)
|
|||
}
|
||||
|
||||
const char* tmp = target->GetProperty("COMPILE_DEFINITIONS");
|
||||
std::string _moc_compile_defs = (tmp!=0 ? tmp : "");
|
||||
std::string _moc_compile_defs;
|
||||
if (tmp)
|
||||
{
|
||||
_moc_compile_defs = target->GetCompileDefinitions();
|
||||
}
|
||||
tmp = makefile->GetProperty("COMPILE_DEFINITIONS");
|
||||
if (tmp)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue