cmMakefile: Skip Global targets for CMP0019 evaluation.

This commit is contained in:
Stephen Kelly 2015-08-02 13:25:53 +02:00
parent 357bf469c7
commit 3e08b4df95
1 changed files with 2 additions and 1 deletions

View File

@ -2334,7 +2334,8 @@ void cmMakefile::ExpandVariablesCMP0019()
l != this->Targets.end(); ++l)
{
cmTarget &t = l->second;
if (t.GetType() == cmTarget::INTERFACE_LIBRARY)
if (t.GetType() == cmTarget::INTERFACE_LIBRARY
|| t.GetType() == cmTarget::GLOBAL_TARGET)
{
continue;
}