From 59b48b4798e6a65b4dfd3d2f54a7fa9d812d641a Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Mon, 6 Feb 2006 22:04:07 +0000 Subject: 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 --- modules/kde4uic.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" ) -- cgit v1.2.1