Jelajahi Sumber

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

Bill Hoffman 24 tahun lalu
induk
melakukan
1a31d4b314
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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"