summaryrefslogtreecommitdiff
path: root/Source/cmGetCMakePropertyCommand.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-07-18 14:32:09 +0200
committerStephen Kelly <steveire@gmail.com>2015-07-19 16:01:39 +0200
commit41bb831fc910d85d79811dc367b25c0880cbe6ac (patch)
treed5283d326117a628ecefb50c669edf595f9c1a1e /Source/cmGetCMakePropertyCommand.cxx
parent881613c4abbbca35223678d6b17da418958a0005 (diff)
downloadcmake-41bb831fc910d85d79811dc367b25c0880cbe6ac.tar.gz
cmMakefile: Remove special handling of MACROS property.
Diffstat (limited to 'Source/cmGetCMakePropertyCommand.cxx')
-rw-r--r--Source/cmGetCMakePropertyCommand.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmGetCMakePropertyCommand.cxx b/Source/cmGetCMakePropertyCommand.cxx
index a460ca6ed1..99e2867c37 100644
--- a/Source/cmGetCMakePropertyCommand.cxx
+++ b/Source/cmGetCMakePropertyCommand.cxx
@@ -41,7 +41,10 @@ bool cmGetCMakePropertyCommand
else if ( args[1] == "MACROS" )
{
output.clear();
- this->Makefile->GetListOfMacros(output);
+ if (const char* macrosProp = this->Makefile->GetProperty("MACROS"))
+ {
+ output = macrosProp;
+ }
}
else if ( args[1] == "COMPONENTS" )
{