summaryrefslogtreecommitdiff
path: root/Source/cmProjectCommand.cxx
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2019-07-06 15:04:31 +0300
committerBrad King <brad.king@kitware.com>2019-07-15 08:17:36 -0400
commitb1f387a7ea2c5b42502970f5a6758d1880dee5ca (patch)
treef4bb665fd229fab30b9b670a064645cdd0e52f61 /Source/cmProjectCommand.cxx
parent41b85968d858d825891417c244879f4ebb6543c3 (diff)
downloadcmake-b1f387a7ea2c5b42502970f5a6758d1880dee5ca.tar.gz
Refactor: Use raw string literals instead of escaping
Diffstat (limited to 'Source/cmProjectCommand.cxx')
-rw-r--r--Source/cmProjectCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmProjectCommand.cxx b/Source/cmProjectCommand.cxx
index aae2ada62e..48a094fef2 100644
--- a/Source/cmProjectCommand.cxx
+++ b/Source/cmProjectCommand.cxx
@@ -214,7 +214,7 @@ bool cmProjectCommand::InitialPass(std::vector<std::string> const& args,
cmsys::RegularExpression vx(
R"(^([0-9]+(\.[0-9]+(\.[0-9]+(\.[0-9]+)?)?)?)?$)");
if (!vx.find(version)) {
- std::string e = "VERSION \"" + version + "\" format invalid.";
+ std::string e = R"(VERSION ")" + version + R"(" format invalid.)";
this->Makefile->IssueMessage(MessageType::FATAL_ERROR, e);
cmSystemTools::SetFatalErrorOccured();
return true;