aboutsummaryrefslogtreecommitdiff
path: root/modules/kde4uic.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2006-02-06 22:04:07 +0000
committerAlexander Neundorf <neundorf@kde.org>2006-02-06 22:04:07 +0000
commit59b48b4798e6a65b4dfd3d2f54a7fa9d812d641a (patch)
treef7d5d7b4e7ce73ac5c5d1cc8c6ac3c3dbb92ccd1 /modules/kde4uic.cmake
parent613824ee96a753618066da1536dcd14eb59615bb (diff)
downloadextra-cmake-modules-59b48b4798e6a65b4dfd3d2f54a7fa9d812d641a.tar.gz
extra-cmake-modules-59b48b4798e6a65b4dfd3d2f54a7fa9d812d641a.tar.bz2
one more fix for uic3 before switching to EXEC_PROCESS, which will require everybody who uses cmake to update cmake
Alex svn path=/trunk/KDE/kdelibs/; revision=506514
Diffstat (limited to 'modules/kde4uic.cmake')
-rw-r--r--modules/kde4uic.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/kde4uic.cmake b/modules/kde4uic.cmake
index 16bce3a8..fe1e6b6c 100644
--- a/modules/kde4uic.cmake
+++ b/modules/kde4uic.cmake
@@ -42,7 +42,7 @@ STRING(REGEX REPLACE "image([0-9]+)_data" "img\\1_${KDE_UIC_BASENAME}" _uic_CONT
# workaround which removes the stderr messages from uic, will be removed as soon as
# I switch to EXEC_PROCESS() in the calls above
-STRING(REGEX REPLACE "\nuic3: [^\n]+" "" _uic_CONTENTS "${_uic_CONTENTS}" )
+STRING(REGEX REPLACE "\n[^\n]*uic3: [^\n]+" "" _uic_CONTENTS "${_uic_CONTENTS}" )
STRING(REGEX REPLACE "\n'[^\n]+' [^\n]+" "" _uic_CONTENTS "${_uic_CONTENTS}" )
STRING(REGEX REPLACE "\nWarning: [^\n]+" "" _uic_CONTENTS "${_uic_CONTENTS}" )