diff options
Diffstat (limited to 'Source/cmStandardLevelResolver.cxx')
-rw-r--r-- | Source/cmStandardLevelResolver.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmStandardLevelResolver.cxx b/Source/cmStandardLevelResolver.cxx index 1d86e3e..0eb869c 100644 --- a/Source/cmStandardLevelResolver.cxx +++ b/Source/cmStandardLevelResolver.cxx @@ -187,7 +187,7 @@ struct StanardLevelComputer if (existingStandard == nullptr) { cmProp defaultStandard = makefile->GetDef( cmStrCat("CMAKE_", this->Language, "_STANDARD_DEFAULT")); - if (defaultStandard && !defaultStandard->empty()) { + if (cmNonempty(defaultStandard)) { existingStandard = defaultStandard; } } |