summaryrefslogtreecommitdiffstats
path: root/Source/cmMacroCommand.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-07-18 12:32:09 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-07-19 14:01:39 (GMT)
commit41bb831fc910d85d79811dc367b25c0880cbe6ac (patch)
treed5283d326117a628ecefb50c669edf595f9c1a1e /Source/cmMacroCommand.cxx
parent881613c4abbbca35223678d6b17da418958a0005 (diff)
downloadCMake-41bb831fc910d85d79811dc367b25c0880cbe6ac.zip
CMake-41bb831fc910d85d79811dc367b25c0880cbe6ac.tar.gz
CMake-41bb831fc910d85d79811dc367b25c0880cbe6ac.tar.bz2
cmMakefile: Remove special handling of MACROS property.
Diffstat (limited to 'Source/cmMacroCommand.cxx')
-rw-r--r--Source/cmMacroCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMacroCommand.cxx b/Source/cmMacroCommand.cxx
index 6d3054a..fa5a623 100644
--- a/Source/cmMacroCommand.cxx
+++ b/Source/cmMacroCommand.cxx
@@ -211,7 +211,7 @@ IsFunctionBlocked(const cmListFileFunction& lff, cmMakefile &mf,
// if this is the endmacro for this macro then execute
if (!this->Depth)
{
- mf.AddMacro(this->Args[0].c_str());
+ mf.AppendProperty("MACROS", this->Args[0].c_str());
// create a new command and add it to cmake
cmMacroHelperCommand *f = new cmMacroHelperCommand();
f->Args = this->Args;