diff options
author | Berk Geveci <berk.geveci@kitware.com> | 2001-11-27 22:31:45 (GMT) |
---|---|---|
committer | Berk Geveci <berk.geveci@kitware.com> | 2001-11-27 22:31:45 (GMT) |
commit | 317324976188dd700beecb8c2480f7ee10e9b21a (patch) | |
tree | eabc38f4bb2914043c2f9470a3a18465b7d5aeb7 /Source | |
parent | b51230a565dd6d9f24ee27cecf6d2b0981fe8971 (diff) | |
download | CMake-317324976188dd700beecb8c2480f7ee10e9b21a.zip CMake-317324976188dd700beecb8c2480f7ee10e9b21a.tar.gz CMake-317324976188dd700beecb8c2480f7ee10e9b21a.tar.bz2 |
ENH: do not write over existing cache values even doc strings to avoid changing the cache file
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmOptionCommand.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Source/cmOptionCommand.cxx b/Source/cmOptionCommand.cxx index 92bd7d4..7a968e0 100644 --- a/Source/cmOptionCommand.cxx +++ b/Source/cmOptionCommand.cxx @@ -65,11 +65,5 @@ bool cmOptionCommand::InitialPass(std::vector<std::string> const& args) cmSystemTools::IsOn(initialValue.c_str()), args[1].c_str()); } - else - { - m_Makefile->AddCacheDefinition(args[0].c_str(), - cmSystemTools::IsOn(cacheValue), args[1].c_str()); - } - return true; } |