summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpressionNode.cxx
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2021-08-12 17:17:35 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2021-08-12 17:17:35 (GMT)
commit361b1ea4c76fab3f22e99de6bbd926a8956714fa (patch)
tree23c89abf6d485093b23e1b030ad95b3afedb4847 /Source/cmGeneratorExpressionNode.cxx
parent3fc3b43933d0b486aa4eb5d63fc257475feff348 (diff)
downloadCMake-361b1ea4c76fab3f22e99de6bbd926a8956714fa.zip
CMake-361b1ea4c76fab3f22e99de6bbd926a8956714fa.tar.gz
CMake-361b1ea4c76fab3f22e99de6bbd926a8956714fa.tar.bz2
Refactor: cmStandardLevelResolver::ComputeFeaturesAvailable returns cmProp
Diffstat (limited to 'Source/cmGeneratorExpressionNode.cxx')
-rw-r--r--Source/cmGeneratorExpressionNode.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGeneratorExpressionNode.cxx b/Source/cmGeneratorExpressionNode.cxx
index 217ebe5..3e90ead 100644
--- a/Source/cmGeneratorExpressionNode.cxx
+++ b/Source/cmGeneratorExpressionNode.cxx
@@ -1777,7 +1777,7 @@ static const struct CompileFeaturesNode : public cmGeneratorExpressionNode
testedFeatures[lang].push_back(p);
if (availableFeatures.find(lang) == availableFeatures.end()) {
- const char* featuresKnown =
+ cmProp featuresKnown =
standardResolver.CompileFeaturesAvailable(lang, &error);
if (!featuresKnown) {
reportError(context, content->GetOriginalExpression(), error);