Browse Source

ENH: remove depend on CMakeCache for rebuild_cache target to avoid double rebuild cache

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

+ 1 - 1
Source/cmLocalUnixMakefileGenerator.cxx

@@ -2583,7 +2583,7 @@ void cmLocalUnixMakefileGenerator::OutputMakeRules(std::ostream& fout)
   this->OutputMakeRule(fout,
                        "CMakeCache.txt",
                        "rebuild_cache",
-                       "$(CMAKE_BINARY_DIR)/CMakeCache.txt",
+                       0,
                        "$(CMAKE_COMMAND) "
                        "-H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)");