浏览代码

ENH: try to keep the dsp files from changing between each write

Bill Hoffman 24 年之前
父节点
当前提交
1a31d4b314
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/cmCacheManager.cxx

+ 1 - 1
Source/cmCacheManager.cxx

@@ -341,7 +341,7 @@ bool cmCacheManager::SaveCache(const char* path)
                       " was created", cmCacheManager::INTERNAL);
 
   fout << "# This is the CMakeCache file.\n"
-       << "# For build in directory: " << path << "\n"
+       << "# For build in directory: " << currentcwd << "\n"
        << "# You can edit this file to change values found and used by cmake.\n"
        << "# If you do not want to change any of the values, simply exit the editor.\n"
        << "# If you do want to change a value, simply edit, save, and exit the editor.\n"