summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenInitializer.cxx
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2020-07-15 14:53:35 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-07-15 14:53:43 (GMT)
commit63ecf481da4d88196410ca67ebd0c9aa69f2e036 (patch)
tree67d0887bbd39819d995280b3e8ff575066bc4929 /Source/cmQtAutoGenInitializer.cxx
parent36e00f9c843d2e03661119182fd98f0668320e09 (diff)
parenteaad8072eefb9cbb7bf60d9753492e6fb604fd09 (diff)
downloadCMake-63ecf481da4d88196410ca67ebd0c9aa69f2e036.zip
CMake-63ecf481da4d88196410ca67ebd0c9aa69f2e036.tar.gz
CMake-63ecf481da4d88196410ca67ebd0c9aa69f2e036.tar.bz2
Merge topic 'cmnonempty'
eaad8072ee cmNonempty: Convenience inlines to check for non-empty string Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5017
Diffstat (limited to 'Source/cmQtAutoGenInitializer.cxx')
-rw-r--r--Source/cmQtAutoGenInitializer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmQtAutoGenInitializer.cxx b/Source/cmQtAutoGenInitializer.cxx
index d80092a..218bd4c 100644
--- a/Source/cmQtAutoGenInitializer.cxx
+++ b/Source/cmQtAutoGenInitializer.cxx
@@ -1610,7 +1610,7 @@ void cmQtAutoGenInitializer::AddToSourceGroup(std::string const& fileName,
};
for (std::string const& prop : props) {
cmProp propName = this->Makefile->GetState()->GetGlobalProperty(prop);
- if (propName && !propName->empty()) {
+ if (cmNonempty(propName)) {
groupName = *propName;
property = prop;
break;