summaryrefslogtreecommitdiffstats
path: root/Modules/FeatureSummary.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-01-17 22:19:13 (GMT)
committerBrad King <brad.king@kitware.com>2008-01-17 22:19:13 (GMT)
commit669db35aa445cc67eef1ff53aced9602e253249e (patch)
tree4d2d3eec6f0f04c78f9e5e5a2c3b93a2935824bb /Modules/FeatureSummary.cmake
parent83901b30da3e42c43b06d1579a86b14be2acf50e (diff)
downloadCMake-669db35aa445cc67eef1ff53aced9602e253249e.zip
CMake-669db35aa445cc67eef1ff53aced9602e253249e.tar.gz
CMake-669db35aa445cc67eef1ff53aced9602e253249e.tar.bz2
ENH: Changed signature of GET_PROPERTY command to be more powerful and extendible.
Diffstat (limited to 'Modules/FeatureSummary.cmake')
-rw-r--r--Modules/FeatureSummary.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/FeatureSummary.cmake b/Modules/FeatureSummary.cmake
index 2452d7c..788ad02 100644
--- a/Modules/FeatureSummary.cmake
+++ b/Modules/FeatureSummary.cmake
@@ -33,18 +33,18 @@ ENDMACRO(SET_FEATURE_INFO)
MACRO(_PRINT_FEATURES _property _text)
SET(_currentFeatureText "${_text}")
- GET_PROPERTY(_EnabledFeatures GLOBAL ${_property})
+ GET_PROPERTY(_EnabledFeatures GLOBAL PROPERTY ${_property})
FOREACH(_currentFeature ${_EnabledFeatures})
SET(_currentFeatureText "${_currentFeatureText}\n${_currentFeature}")
- GET_PROPERTY(_info GLOBAL ${_currentFeature}_DESCRIPTION)
+ GET_PROPERTY(_info GLOBAL PROPERTY ${_currentFeature}_DESCRIPTION)
IF(_info)
SET(_currentFeatureText "${_currentFeatureText} , ${_info}")
ENDIF(_info)
- GET_PROPERTY(_info GLOBAL ${_currentFeature}_URL)
+ GET_PROPERTY(_info GLOBAL PROPERTY ${_currentFeature}_URL)
IF(_info)
SET(_currentFeatureText "${_currentFeatureText} , <${_info}>")
ENDIF(_info)
- GET_PROPERTY(_info GLOBAL ${_currentFeature}_COMMENT)
+ GET_PROPERTY(_info GLOBAL PROPERTY ${_currentFeature}_COMMENT)
IF(_info)
SET(_currentFeatureText "${_currentFeatureText} , ${_info}")
ENDIF(_info)