mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-11 23:43:58 +03:00
cmMakefile: Skip Global targets for CMP0019 evaluation.
This commit is contained in:
1 parent
357bf469c7
commit
3e08b4df95
1 file changed
+2
-1
@@ -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