diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2020-03-08 21:00:00 (GMT) |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2020-03-08 21:22:43 (GMT) |
commit | b0dc52704b5c4627c9ac11f1c63236367d7e3d3c (patch) | |
tree | 30c678d7762c831c13ca34b5078626cc9255eda4 /Source/cmGlobalVisualStudio7Generator.cxx | |
parent | 1bb7474abac4eb3aa7dd1b52d9d09d2205e104f3 (diff) | |
download | CMake-b0dc52704b5c4627c9ac11f1c63236367d7e3d3c.zip CMake-b0dc52704b5c4627c9ac11f1c63236367d7e3d3c.tar.gz CMake-b0dc52704b5c4627c9ac11f1c63236367d7e3d3c.tar.bz2 |
cmGeneratorExpression: remove const char* overloads
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio7Generator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx index 9799124..eb33825 100644 --- a/Source/cmGlobalVisualStudio7Generator.cxx +++ b/Source/cmGlobalVisualStudio7Generator.cxx @@ -676,7 +676,8 @@ std::set<std::string> cmGlobalVisualStudio7Generator::IsPartOfDefaultBuild( for (std::string const& i : configs) { const char* propertyValue = target->Target->GetMakefile()->GetDefinition(propertyName); - if (cmIsOn(cmGeneratorExpression::Evaluate( + if (propertyValue && + cmIsOn(cmGeneratorExpression::Evaluate( propertyValue, target->GetLocalGenerator(), i))) { activeConfigs.insert(i); } |