mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-21 15:28:41 -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)
|
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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user