Pārlūkot izejas kodu

cmMakefile: Skip Global targets for CMP0019 evaluation.

Stephen Kelly 10 gadi atpakaļ
vecāks
revīzija
3e08b4df95
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  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;
       }