Pārlūkot izejas kodu

cmLocalGenerator: Fix AddBuildTargetRule object file path conversion

The object file list is constructed for a shell, not a Makefile rule.
Brad King 11 gadi atpakaļ
vecāks
revīzija
e7ee892b39
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      Source/cmLocalGenerator.cxx

+ 1 - 1
Source/cmLocalGenerator.cxx

@@ -681,7 +681,7 @@ void cmLocalGenerator::AddBuildTargetRule(const std::string& llang,
         objVector.push_back(ofname);
         this->AddCustomCommandToCreateObject(ofname.c_str(),
                                              llang, *(*i), target);
-        objs += this->Convert(ofname,START_OUTPUT,MAKERULE);
+        objs += this->Convert(ofname,START_OUTPUT,SHELL);
         objs += " ";
         }
       }