summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-07-22 16:38:08 (GMT)
committerBrad King <brad.king@kitware.com>2014-07-22 16:38:08 (GMT)
commite7ee892b391992e0e8198917b8ef5cce76da2fd1 (patch)
treeae2fe64eb652d914c2c5cc58b72d8a6dde794be8
parent9f92a78be21a7f126f1776d481cc4bd2acdf4a1b (diff)
downloadCMake-e7ee892b391992e0e8198917b8ef5cce76da2fd1.zip
CMake-e7ee892b391992e0e8198917b8ef5cce76da2fd1.tar.gz
CMake-e7ee892b391992e0e8198917b8ef5cce76da2fd1.tar.bz2
cmLocalGenerator: Fix AddBuildTargetRule object file path conversion
The object file list is constructed for a shell, not a Makefile rule.
-rw-r--r--Source/cmLocalGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index d2652f7..4bd9191 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/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 += " ";
}
}