cmMakefile: Skip Global targets for CMP0019 evaluation.
This commit is contained in:
parent
357bf469c7
commit
3e08b4df95
@ -2334,7 +2334,8 @@ void cmMakefile::ExpandVariablesCMP0019()
|
|||||||
l != this->Targets.end(); ++l)
|
l != this->Targets.end(); ++l)
|
||||||
{
|
{
|
||||||
cmTarget &t = l->second;
|
cmTarget &t = l->second;
|
||||||
if (t.GetType() == cmTarget::INTERFACE_LIBRARY)
|
if (t.GetType() == cmTarget::INTERFACE_LIBRARY
|
||||||
|
|| t.GetType() == cmTarget::GLOBAL_TARGET)
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user