Bläddra i källkod

BUG: can not Add a definition that you just got

Bill Hoffman 24 år sedan
förälder
incheckning
333e2dbf63
2 ändrade filer med 0 tillägg och 3 borttagningar
  1. 0 1
      Source/cmSiteNameCommand.cxx
  2. 0 2
      Source/cmUtilitySourceCommand.cxx

+ 0 - 1
Source/cmSiteNameCommand.cxx

@@ -52,7 +52,6 @@ bool cmSiteNameCommand::InitialPass(std::vector<std::string>& args)
     = m_Makefile->GetDefinition("SITE");
     = m_Makefile->GetDefinition("SITE");
   if(cacheValue)
   if(cacheValue)
     {
     {
-    m_Makefile->AddDefinition("SITE", cacheValue);
     return true;
     return true;
     }
     }
   
   

+ 0 - 2
Source/cmUtilitySourceCommand.cxx

@@ -61,8 +61,6 @@ bool cmUtilitySourceCommand::InitialPass(std::vector<std::string>& args)
      (m_Makefile->GetCacheMajorVersion() != 0 
      (m_Makefile->GetCacheMajorVersion() != 0 
       && m_Makefile->GetCacheMinorVersion() != 0 ))
       && m_Makefile->GetCacheMinorVersion() != 0 ))
     {
     {
-    // Set the makefile's definition with the cache value.
-    m_Makefile->AddDefinition(cacheEntry.c_str(), cacheValue);
     return true;
     return true;
     }
     }