summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmLocalUnixMakefileGenerator.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx
index 4c6752f..e7bf258 100644
--- a/Source/cmLocalUnixMakefileGenerator.cxx
+++ b/Source/cmLocalUnixMakefileGenerator.cxx
@@ -2432,6 +2432,15 @@ void cmLocalUnixMakefileGenerator::OutputMakeRules(std::ostream& fout)
"$(CMAKE_EDIT_COMMAND) "
"-H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)");
}
+ else
+ {
+ this->OutputMakeRule(fout,
+ "edit CMakeCache.txt",
+ "edit_cache",
+ 0,
+ "$(CMAKE_COMMAND) "
+ "-H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) -i");
+ }
this->OutputMakeRule(fout,
"CMakeCache.txt",