diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-04-11 17:13:15 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-04-11 17:13:15 (GMT) |
commit | b0256fbe1cb8989b8a714db2eb17f15c08ff3e5e (patch) | |
tree | 2cb3b5a4259e878768960f31f3df790a7127098d /Source/cmMakefileTargetGenerator.cxx | |
parent | 8350a171018499ccf645a5b122930036fc16980a (diff) | |
download | CMake-b0256fbe1cb8989b8a714db2eb17f15c08ff3e5e.zip CMake-b0256fbe1cb8989b8a714db2eb17f15c08ff3e5e.tar.gz CMake-b0256fbe1cb8989b8a714db2eb17f15c08ff3e5e.tar.bz2 |
BUG: make sure OBJECT_DIR is in the path of the SHELL
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileTargetGenerator.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx index cd08bdb..6c3afbd 100644 --- a/Source/cmMakefileTargetGenerator.cxx +++ b/Source/cmMakefileTargetGenerator.cxx @@ -614,6 +614,9 @@ cmMakefileTargetGenerator cmLocalGenerator::SHELL).c_str(); vars.Object = shellObj.c_str(); std::string objectDir = cmSystemTools::GetFilenamePath(obj); + objectDir = this->Convert(objectDir.c_str(), + cmLocalGenerator::START_OUTPUT, + cmLocalGenerator::SHELL); vars.ObjectDir = objectDir.c_str(); vars.Flags = flags.c_str(); vars.Defines = defines.c_str(); |