aboutsummaryrefslogtreecommitdiff
path: root/modules/kde4uic.cmake
diff options
context:
space:
mode:
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}" )