diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-07-18 12:32:09 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-07-19 14:01:39 (GMT) |
commit | 41bb831fc910d85d79811dc367b25c0880cbe6ac (patch) | |
tree | d5283d326117a628ecefb50c669edf595f9c1a1e /Source/cmGetCMakePropertyCommand.cxx | |
parent | 881613c4abbbca35223678d6b17da418958a0005 (diff) | |
download | CMake-41bb831fc910d85d79811dc367b25c0880cbe6ac.zip CMake-41bb831fc910d85d79811dc367b25c0880cbe6ac.tar.gz CMake-41bb831fc910d85d79811dc367b25c0880cbe6ac.tar.bz2 |
cmMakefile: Remove special handling of MACROS property.
Diffstat (limited to 'Source/cmGetCMakePropertyCommand.cxx')
-rw-r--r-- | Source/cmGetCMakePropertyCommand.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmGetCMakePropertyCommand.cxx b/Source/cmGetCMakePropertyCommand.cxx index a460ca6..99e2867 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" ) { |