summaryrefslogtreecommitdiff
path: root/Source/cmGetCMakePropertyCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-07-21 09:22:23 -0400
committerCMake Topic Stage <kwrobot@kitware.com>2015-07-21 09:22:23 -0400
commit5b2754d41fcef287ff76c9d909d9bc2f506b4d03 (patch)
tree61e454cb8a0e13e58b50da681ffa2b728d89667c /Source/cmGetCMakePropertyCommand.cxx
parente13c18974307ecd0f11e2ecfde64f1aea80c6304 (diff)
parent41bb831fc910d85d79811dc367b25c0880cbe6ac (diff)
downloadcmake-5b2754d41fcef287ff76c9d909d9bc2f506b4d03.tar.gz
Merge topic 'remove-special-MACROS-handling'
41bb831f 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 5a1644ca09..248ce5943f 100644
--- a/Source/cmGetCMakePropertyCommand.cxx
+++ b/Source/cmGetCMakePropertyCommand.cxx
@@ -40,7 +40,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" )
{