diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-08-08 17:14:44 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-08-08 17:14:44 (GMT) |
commit | 333e2dbf63295cef0ca420da969402375ced1876 (patch) | |
tree | 511a655561d6855270cc44779e9d687fba30993b /Source | |
parent | db1303aa7d00f49a0fdf66f120eb3e6cb0e445fe (diff) | |
download | CMake-333e2dbf63295cef0ca420da969402375ced1876.zip CMake-333e2dbf63295cef0ca420da969402375ced1876.tar.gz CMake-333e2dbf63295cef0ca420da969402375ced1876.tar.bz2 |
BUG: can not Add a definition that you just got
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmSiteNameCommand.cxx | 1 | ||||
-rw-r--r-- | Source/cmUtilitySourceCommand.cxx | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/Source/cmSiteNameCommand.cxx b/Source/cmSiteNameCommand.cxx index da69ec1..c6999a1 100644 --- a/Source/cmSiteNameCommand.cxx +++ b/Source/cmSiteNameCommand.cxx @@ -52,7 +52,6 @@ bool cmSiteNameCommand::InitialPass(std::vector<std::string>& 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 7b3dde1..ec996f9 100644 --- a/Source/cmUtilitySourceCommand.cxx +++ b/Source/cmUtilitySourceCommand.cxx @@ -61,8 +61,6 @@ bool cmUtilitySourceCommand::InitialPass(std::vector<std::string>& 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; } |