diff options
author | Alex Turbov <i.zaufi@gmail.com> | 2019-07-06 12:04:31 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-07-15 12:17:36 (GMT) |
commit | b1f387a7ea2c5b42502970f5a6758d1880dee5ca (patch) | |
tree | f4bb665fd229fab30b9b670a064645cdd0e52f61 /Source/cmProjectCommand.cxx | |
parent | 41b85968d858d825891417c244879f4ebb6543c3 (diff) | |
download | CMake-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.cxx | 2 |
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; |