diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2020-07-14 19:00:00 (GMT) |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2020-07-14 19:18:59 (GMT) |
commit | eaad8072eefb9cbb7bf60d9753492e6fb604fd09 (patch) | |
tree | 3c50fd113dcc289e557cdc06062e6db41f8de9f8 /Source/cmLocalUnixMakefileGenerator3.cxx | |
parent | 2da778664d3e99ada4e67a5a1b9d377f92a9f75f (diff) | |
download | CMake-eaad8072eefb9cbb7bf60d9753492e6fb604fd09.zip CMake-eaad8072eefb9cbb7bf60d9753492e6fb604fd09.tar.gz CMake-eaad8072eefb9cbb7bf60d9753492e6fb604fd09.tar.bz2 |
cmNonempty: Convenience inlines to check for non-empty string
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index de1461a..86a888a 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -950,7 +950,7 @@ void cmLocalUnixMakefileGenerator3::AppendCustomCommand( std::string launcher; // Short-circuit if there is no launcher. const char* val = this->GetRuleLauncher(target, "RULE_LAUNCH_CUSTOM"); - if (val && *val) { + if (cmNonempty(val)) { // Expand rule variables referenced in the given launcher command. cmRulePlaceholderExpander::RuleVariables vars; vars.CMTargetName = target->GetName().c_str(); |