summaryrefslogtreecommitdiffstats
path: root/Source/cmProjectCommand.cxx
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2019-07-06 12:04:31 (GMT)
committerBrad King <brad.king@kitware.com>2019-07-15 12:17:36 (GMT)
commitb1f387a7ea2c5b42502970f5a6758d1880dee5ca (patch)
treef4bb665fd229fab30b9b670a064645cdd0e52f61 /Source/cmProjectCommand.cxx
parent41b85968d858d825891417c244879f4ebb6543c3 (diff)
downloadCMake-b1f387a7ea2c5b42502970f5a6758d1880dee5ca.zip
CMake-b1f387a7ea2c5b42502970f5a6758d1880dee5ca.tar.gz
CMake-b1f387a7ea2c5b42502970f5a6758d1880dee5ca.tar.bz2
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 aae2ada..48a094f 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;