summaryrefslogtreecommitdiff
path: root/Source/cmLocalNinjaGenerator.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2020-07-14 15:00:00 -0400
committerVitaly Stakhovsky <vvs31415@gitlab.org>2020-07-14 15:18:59 -0400
commiteaad8072eefb9cbb7bf60d9753492e6fb604fd09 (patch)
tree3c50fd113dcc289e557cdc06062e6db41f8de9f8 /Source/cmLocalNinjaGenerator.cxx
parent2da778664d3e99ada4e67a5a1b9d377f92a9f75f (diff)
downloadcmake-eaad8072eefb9cbb7bf60d9753492e6fb604fd09.tar.gz
cmNonempty: Convenience inlines to check for non-empty string
Diffstat (limited to 'Source/cmLocalNinjaGenerator.cxx')
-rw-r--r--Source/cmLocalNinjaGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalNinjaGenerator.cxx b/Source/cmLocalNinjaGenerator.cxx
index 87e8aa4459..aee7f4519d 100644
--- a/Source/cmLocalNinjaGenerator.cxx
+++ b/Source/cmLocalNinjaGenerator.cxx
@@ -668,7 +668,7 @@ std::string cmLocalNinjaGenerator::MakeCustomLauncher(
{
cmProp property_value = this->Makefile->GetProperty("RULE_LAUNCH_CUSTOM");
- if (!property_value || property_value->empty()) {
+ if (!cmNonempty(property_value)) {
return std::string();
}