Procházet zdrojové kódy

cmMakefile: Skip Global targets for CMP0019 evaluation.

Stephen Kelly před 10 roky
rodič
revize
3e08b4df95
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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;
       }