diff --git a/Source/cmInstallCommandArguments.cxx b/Source/cmInstallCommandArguments.cxx index 075ff3603c..20b868fac5 100644 --- a/Source/cmInstallCommandArguments.cxx +++ b/Source/cmInstallCommandArguments.cxx @@ -37,7 +37,7 @@ cmInstallCommandArguments::cmInstallCommandArguments( case cmPolicies::OLD: normalizeDest = [this](cm::string_view arg) -> ArgumentParser::Continue { this->Destination = std::string(arg.begin(), arg.end()); - return ArgumentParser::Continue::Yes; + return ArgumentParser::Continue::No; }; break; case cmPolicies::WARN: @@ -52,7 +52,7 @@ cmInstallCommandArguments::cmInstallCommandArguments( MessageType::AUTHOR_WARNING, cmPolicies::GetPolicyWarning(cmPolicies::CMP0177)); } - return ArgumentParser::Continue::Yes; + return ArgumentParser::Continue::No; }; break; case cmPolicies::NEW: @@ -63,7 +63,7 @@ cmInstallCommandArguments::cmInstallCommandArguments( this->Destination = cmStrCat("$'); } - return ArgumentParser::Continue::Yes; + return ArgumentParser::Continue::No; }; break; }