summaryrefslogtreecommitdiff
path: root/Modules/FindKDE3.cmake
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2014-04-06 21:51:33 +0200
committerRolf Eike Beer <eike@sf-mail.de>2014-04-14 18:17:05 +0200
commit5bd48ac5348885e15ebb23ea825a1ea777985b97 (patch)
tree340ac037fe081ef314cb12ecdfca2b229c2f4ea8 /Modules/FindKDE3.cmake
parent2622bc3f65162bf6d6cb5838da6999f8b5ca75cf (diff)
downloadcmake-5bd48ac5348885e15ebb23ea825a1ea777985b97.tar.gz
Replace string(REGEX REPLACE) with string(REPLACE) where possible
The simple replacement is much faster.
Diffstat (limited to 'Modules/FindKDE3.cmake')
-rw-r--r--Modules/FindKDE3.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindKDE3.cmake b/Modules/FindKDE3.cmake
index 159e29c79b..ea898a6508 100644
--- a/Modules/FindKDE3.cmake
+++ b/Modules/FindKDE3.cmake
@@ -192,7 +192,7 @@ if(KDECONFIG_EXECUTABLE)
if ("${kde_version}" MATCHES "KDE: 3\\.")
execute_process(COMMAND ${KDECONFIG_EXECUTABLE} --prefix
OUTPUT_VARIABLE kdedir )
- string(REGEX REPLACE "\n" "" KDE3PREFIX "${kdedir}")
+ string(REPLACE "\n" "" KDE3PREFIX "${kdedir}")
endif ()
endif()