summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-09-03 13:17:58 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-09-03 13:18:05 (GMT)
commitca5babfd7a1da8e32f927ad086fdd91c2b09853b (patch)
tree23619c551a1b4c24ff228f98a3503b64a189fb32 /Source/cmGlobalVisualStudio7Generator.cxx
parent85e52ea704e13bbf932cd65c225b82f9b945e071 (diff)
parent11425041f04fd0945480b8f9e9933d1549b93981 (diff)
downloadCMake-ca5babfd7a1da8e32f927ad086fdd91c2b09853b.zip
CMake-ca5babfd7a1da8e32f927ad086fdd91c2b09853b.tar.gz
CMake-ca5babfd7a1da8e32f927ad086fdd91c2b09853b.tar.bz2
Merge topic 'getdef'
11425041f0 cmMakefile::GetDefinition: return cmProp Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5179
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio7Generator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx
index f8b438a..73a2caa 100644
--- a/Source/cmGlobalVisualStudio7Generator.cxx
+++ b/Source/cmGlobalVisualStudio7Generator.cxx
@@ -676,11 +676,11 @@ std::set<std::string> cmGlobalVisualStudio7Generator::IsPartOfDefaultBuild(
"CMAKE_VS_INCLUDE_" + t + "_TO_DEFAULT_BUILD";
// inspect CMAKE_VS_INCLUDE_<t>_TO_DEFAULT_BUILD properties
for (std::string const& i : configs) {
- const char* propertyValue =
+ cmProp propertyValue =
target->Target->GetMakefile()->GetDefinition(propertyName);
if (propertyValue &&
cmIsOn(cmGeneratorExpression::Evaluate(
- propertyValue, target->GetLocalGenerator(), i))) {
+ *propertyValue, target->GetLocalGenerator(), i))) {
activeConfigs.insert(i);
}
}