summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-04-04 15:30:15 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-04-04 15:30:54 (GMT)
commit7795b3f2bfe3dbab35a494ceee37745eaff110f4 (patch)
tree13680f8058fc87946067e8959c0ffdc04e61bc81 /Source/cmLocalGenerator.cxx
parentdc6b76d1e751224c60aba5489fb62228cd8a6bad (diff)
parent30bb14c65777bad02b3360797bf9c7b0fbe3280e (diff)
downloadCMake-7795b3f2bfe3dbab35a494ceee37745eaff110f4.zip
CMake-7795b3f2bfe3dbab35a494ceee37745eaff110f4.tar.gz
CMake-7795b3f2bfe3dbab35a494ceee37745eaff110f4.tar.bz2
Merge topic 'modernize-raw-string-literal'
30bb14c657 Modernize: Enable modernize-raw-string-literal in clang-tidy Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3184
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 6337f07..67763d4 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -457,7 +457,7 @@ void cmLocalGenerator::GenerateInstallRules()
<< "if(NOT DEFINED CMAKE_INSTALL_PREFIX)" << std::endl
<< " set(CMAKE_INSTALL_PREFIX \"" << prefix << "\")" << std::endl
<< "endif()" << std::endl
- << "string(REGEX REPLACE \"/$\" \"\" CMAKE_INSTALL_PREFIX "
+ << R"(string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX )"
<< "\"${CMAKE_INSTALL_PREFIX}\")" << std::endl
<< std::endl;