summaryrefslogtreecommitdiffstats
path: root/Modules/CPackDeb.cmake
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2014-04-06 19:51:33 (GMT)
committerRolf Eike Beer <eike@sf-mail.de>2014-04-14 16:17:05 (GMT)
commit5bd48ac5348885e15ebb23ea825a1ea777985b97 (patch)
tree340ac037fe081ef314cb12ecdfca2b229c2f4ea8 /Modules/CPackDeb.cmake
parent2622bc3f65162bf6d6cb5838da6999f8b5ca75cf (diff)
downloadCMake-5bd48ac5348885e15ebb23ea825a1ea777985b97.zip
CMake-5bd48ac5348885e15ebb23ea825a1ea777985b97.tar.gz
CMake-5bd48ac5348885e15ebb23ea825a1ea777985b97.tar.bz2
Replace string(REGEX REPLACE) with string(REPLACE) where possible
The simple replacement is much faster.
Diffstat (limited to 'Modules/CPackDeb.cmake')
-rw-r--r--Modules/CPackDeb.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CPackDeb.cmake b/Modules/CPackDeb.cmake
index b210bbb..458bbed 100644
--- a/Modules/CPackDeb.cmake
+++ b/Modules/CPackDeb.cmake
@@ -259,7 +259,7 @@ if(CPACK_DEBIAN_PACKAGE_SHLIBDEPS)
OUTPUT_VARIABLE CPACK_DEB_INSTALL_FILES)
# Convert to CMake list
- string(REGEX REPLACE "\n" ";" CPACK_DEB_INSTALL_FILES ${CPACK_DEB_INSTALL_FILES})
+ string(REPLACE "\n" ";" CPACK_DEB_INSTALL_FILES ${CPACK_DEB_INSTALL_FILES})
# Only dynamically linked ELF files are included
# Extract only file name infront of ":"