Explorar o código

cmMakefile: Skip Global targets for CMP0019 evaluation.

Stephen Kelly %!s(int64=10) %!d(string=hai) anos
pai
achega
3e08b4df95
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      Source/cmMakefile.cxx

+ 2 - 1
Source/cmMakefile.cxx

@@ -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;
       }