Browse Source

BUG: jump over feature was not working for windows

Bill Hoffman 22 years ago
parent
commit
927b2b419c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/cmLocalUnixMakefileGenerator.cxx

+ 1 - 1
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);