diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2014-04-06 21:51:33 +0200 |
---|---|---|
committer | Rolf Eike Beer <eike@sf-mail.de> | 2014-04-14 18:17:05 +0200 |
commit | 5bd48ac5348885e15ebb23ea825a1ea777985b97 (patch) | |
tree | 340ac037fe081ef314cb12ecdfca2b229c2f4ea8 /cmake_uninstall.cmake.in | |
parent | 2622bc3f65162bf6d6cb5838da6999f8b5ca75cf (diff) | |
download | cmake-5bd48ac5348885e15ebb23ea825a1ea777985b97.tar.gz |
Replace string(REGEX REPLACE) with string(REPLACE) where possible
The simple replacement is much faster.
Diffstat (limited to 'cmake_uninstall.cmake.in')
-rw-r--r-- | cmake_uninstall.cmake.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake_uninstall.cmake.in b/cmake_uninstall.cmake.in index 7cd7fc1c91..d81f62a217 100644 --- a/cmake_uninstall.cmake.in +++ b/cmake_uninstall.cmake.in @@ -3,7 +3,7 @@ if(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") endif() file(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files) -string(REGEX REPLACE "\n" ";" files "${files}") +string(REPLACE "\n" ";" files "${files}") foreach(file ${files}) message(STATUS "Uninstalling \"$ENV{DESTDIR}${file}\"") if(EXISTS "$ENV{DESTDIR}${file}") |