summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-01-23 18:43:33 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-01-23 18:43:33 (GMT)
commit927b2b419c2db02ae44c12a6ee6bbd86602c6ad8 (patch)
treebef097ae0b9412f7a4f52cd48813b0c1ad9c2ffe /Source/cmLocalUnixMakefileGenerator.cxx
parent5d069cdad7d42c3650e4211db68b7b80532832e2 (diff)
downloadCMake-927b2b419c2db02ae44c12a6ee6bbd86602c6ad8.zip
CMake-927b2b419c2db02ae44c12a6ee6bbd86602c6ad8.tar.gz
CMake-927b2b419c2db02ae44c12a6ee6bbd86602c6ad8.tar.bz2
BUG: jump over feature was not working for windows
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx
index 45be308..53e89fd 100644
--- a/Source/cmLocalUnixMakefileGenerator.cxx
+++ b/Source/cmLocalUnixMakefileGenerator.cxx
@@ -1707,7 +1707,7 @@ void cmLocalUnixMakefileGenerator::OutputBuildTargetInDirWindows(std::ostream& f
const char* fullpath)
{
std::string jumpBack =
- cmSystemTools::RelativePath(cmSystemTools::GetProgramPath(fullpath).c_str(),
+ cmSystemTools::RelativePath(cmSystemTools::GetProgramPath(path).c_str(),
m_Makefile->GetCurrentOutputDirectory());
jumpBack = this->ConvertToOutputForExisting(jumpBack.c_str());
std::string wpath = this->ConvertToOutputForExisting(path);