From 317324976188dd700beecb8c2480f7ee10e9b21a Mon Sep 17 00:00:00 2001 From: Berk Geveci Date: Tue, 27 Nov 2001 17:31:45 -0500 Subject: ENH: do not write over existing cache values even doc strings to avoid changing the cache file --- Source/cmOptionCommand.cxx | 6 ------ 1 file changed, 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 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; } -- cgit v0.12