mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 23:28:32 -05:00
cmMakefile: Skip Global targets for CMP0019 evaluation.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user