summaryrefslogtreecommitdiff
path: root/Source/cmUtilitySourceCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-08-08 13:14:44 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2001-08-08 13:14:44 -0400
commit333e2dbf63295cef0ca420da969402375ced1876 (patch)
tree511a655561d6855270cc44779e9d687fba30993b /Source/cmUtilitySourceCommand.cxx
parentdb1303aa7d00f49a0fdf66f120eb3e6cb0e445fe (diff)
downloadcmake-333e2dbf63295cef0ca420da969402375ced1876.tar.gz
BUG: can not Add a definition that you just got
Diffstat (limited to 'Source/cmUtilitySourceCommand.cxx')
-rw-r--r--Source/cmUtilitySourceCommand.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/cmUtilitySourceCommand.cxx b/Source/cmUtilitySourceCommand.cxx
index 7b3dde145b..ec996f9d19 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;
}