Browse Source

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

Bill Hoffman 24 years ago
parent
commit
1a31d4b314
1 changed files with 1 additions and 1 deletions
  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);
                       " was created", cmCacheManager::INTERNAL);
 
 
   fout << "# This is the CMakeCache file.\n"
   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"
        << "# 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 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"
        << "# If you do want to change a value, simply edit, save, and exit the editor.\n"