diff options
author | Alex Turbov <i.zaufi@gmail.com> | 2019-07-06 15:04:31 +0300 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-07-15 08:17:36 -0400 |
commit | b1f387a7ea2c5b42502970f5a6758d1880dee5ca (patch) | |
tree | f4bb665fd229fab30b9b670a064645cdd0e52f61 /Source | |
parent | 41b85968d858d825891417c244879f4ebb6543c3 (diff) | |
download | cmake-b1f387a7ea2c5b42502970f5a6758d1880dee5ca.tar.gz |
Refactor: Use raw string literals instead of escaping
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmProjectCommand.cxx | 2 |
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; |