Przeglądaj źródła

cmMakefile: Skip Global targets for CMP0019 evaluation.

Stephen Kelly 10 lat temu
rodzic
commit
3e08b4df95
1 zmienionych plików z 2 dodań i 1 usunięć
  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;
       }