summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileLibraryTargetGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-04-11 17:13:15 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-04-11 17:13:15 (GMT)
commitb0256fbe1cb8989b8a714db2eb17f15c08ff3e5e (patch)
tree2cb3b5a4259e878768960f31f3df790a7127098d /Source/cmMakefileLibraryTargetGenerator.cxx
parent8350a171018499ccf645a5b122930036fc16980a (diff)
downloadCMake-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/cmMakefileLibraryTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileLibraryTargetGenerator.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmMakefileLibraryTargetGenerator.cxx b/Source/cmMakefileLibraryTargetGenerator.cxx
index 70978c3..a881391 100644
--- a/Source/cmMakefileLibraryTargetGenerator.cxx
+++ b/Source/cmMakefileLibraryTargetGenerator.cxx
@@ -724,7 +724,10 @@ void cmMakefileLibraryTargetGenerator::WriteLibraryRules
std::string objdir = cmake::GetCMakeFilesDirectoryPostSlash();
objdir += this->Target->GetName();
objdir += ".dir";
- vars.ObjectDir = objdir.c_str();
+ objdir = this->Convert(objdir.c_str(),
+ cmLocalGenerator::START_OUTPUT,
+ cmLocalGenerator::SHELL);
+ vars.ObjectDir = objdir.c_str();
vars.Target = targetOutPathReal.c_str();
std::string linkString = linklibs.str();
vars.LinkLibraries = linkString.c_str();