summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2018-08-09 18:50:17 (GMT)
committerVitaly Stakhovsky <vvs31415@gitlab.org>2018-08-09 18:50:17 (GMT)
commitc530e2f74ff466b43651372d56bae543eec1a9f1 (patch)
tree6f3762cfef1f404bc8c9ee5b6efa1a865e970591 /Source/cmGlobalVisualStudio7Generator.cxx
parentad4452d1bdabcdf039f812f2b709a905d76e8da0 (diff)
downloadCMake-c530e2f74ff466b43651372d56bae543eec1a9f1.zip
CMake-c530e2f74ff466b43651372d56bae543eec1a9f1.tar.gz
CMake-c530e2f74ff466b43651372d56bae543eec1a9f1.tar.bz2
cmCompiledGeneratorExpression::Evaluate(): return const std::string&
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio7Generator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx
index 21121f2..28cbdc7 100644
--- a/Source/cmGlobalVisualStudio7Generator.cxx
+++ b/Source/cmGlobalVisualStudio7Generator.cxx
@@ -679,7 +679,7 @@ std::set<std::string> cmGlobalVisualStudio7Generator::IsPartOfDefaultBuild(
std::unique_ptr<cmCompiledGeneratorExpression> cge =
ge.Parse(propertyValue);
if (cmSystemTools::IsOn(
- cge->Evaluate(target->GetLocalGenerator(), i))) {
+ cge->Evaluate(target->GetLocalGenerator(), i).c_str())) {
activeConfigs.insert(i);
}
}