diff options
Diffstat (limited to 'Source/cmConfigureFileCommand.cxx')
-rw-r--r-- | Source/cmConfigureFileCommand.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmConfigureFileCommand.cxx b/Source/cmConfigureFileCommand.cxx index 701214e..7e37f32 100644 --- a/Source/cmConfigureFileCommand.cxx +++ b/Source/cmConfigureFileCommand.cxx @@ -8,6 +8,7 @@ #include "cmMakefile.h" #include "cmMessageType.h" #include "cmNewLineStyle.h" +#include "cmStringAlgorithms.h" #include "cmSystemTools.h" // cmConfigureFileCommand @@ -88,8 +89,8 @@ bool cmConfigureFileCommand(std::vector<std::string> const& args, } } if (!unknown_args.empty()) { - std::string msg = "configure_file called with unknown argument(s):\n"; - msg += unknown_args; + std::string msg = cmStrCat( + "configure_file called with unknown argument(s):\n", unknown_args); status.GetMakefile().IssueMessage(MessageType::AUTHOR_WARNING, msg); } |