diff --git a/Source/cmSiteNameCommand.cxx b/Source/cmSiteNameCommand.cxx index da69ec117..c6999a148 100644 --- a/Source/cmSiteNameCommand.cxx +++ b/Source/cmSiteNameCommand.cxx @@ -52,7 +52,6 @@ bool cmSiteNameCommand::InitialPass(std::vector& args) = m_Makefile->GetDefinition("SITE"); if(cacheValue) { - m_Makefile->AddDefinition("SITE", cacheValue); return true; } diff --git a/Source/cmUtilitySourceCommand.cxx b/Source/cmUtilitySourceCommand.cxx index 7b3dde145..ec996f9d1 100644 --- a/Source/cmUtilitySourceCommand.cxx +++ b/Source/cmUtilitySourceCommand.cxx @@ -61,8 +61,6 @@ bool cmUtilitySourceCommand::InitialPass(std::vector& args) (m_Makefile->GetCacheMajorVersion() != 0 && m_Makefile->GetCacheMinorVersion() != 0 )) { - // Set the makefile's definition with the cache value. - m_Makefile->AddDefinition(cacheEntry.c_str(), cacheValue); return true; }