浏览代码

cmLocalGenerator: Fix AddBuildTargetRule object file path conversion

The object file list is constructed for a shell, not a Makefile rule.
Brad King 11 年之前
父节点
当前提交
e7ee892b39
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 += " ";
         }
       }