Przeglądaj źródła

VS: Replace FULL/UNCHANGED conversion with equivalent

Stephen Kelly 9 lat temu
rodzic
commit
a8c7ccb183
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      Source/cmLocalVisualStudio7Generator.cxx

+ 2 - 2
Source/cmLocalVisualStudio7Generator.cxx

@@ -278,8 +278,8 @@ cmSourceFile* cmLocalVisualStudio7Generator::CreateVCProjBuildRule()
   cmCustomCommandLines commandLines;
   commandLines.push_back(commandLine);
   const char* no_working_directory = 0;
-  std::string fullpathStampName = this->Convert(
-    stampName.c_str(), cmOutputConverter::FULL, cmOutputConverter::UNCHANGED);
+  std::string fullpathStampName =
+    cmSystemTools::CollapseFullPath(stampName.c_str());
   this->Makefile->AddCustomCommandToOutput(
     fullpathStampName.c_str(), listFiles, makefileIn.c_str(), commandLines,
     comment.c_str(), no_working_directory, true);