diff --git a/Source/cmOptionCommand.cxx b/Source/cmOptionCommand.cxx index 92bd7d40d..7a968e094 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; }