From dc8fa99b2b6ea3c9c2e331c0a6d73fa0f1dcd5b0 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Tue, 6 Dec 2011 20:24:06 +0100 Subject: Use VERBATIM where needed in macros. Forward port of fix for http://cmake.org/Bug/view.php?id=12554 Test fails before and passes after. Change-Id: I7a3ab2369cb3095c63f9e2a3e604088ebdcc2465 Reviewed-by: Clinton Stimpson Reviewed-by: Stephen Kelly --- src/widgets/Qt5WidgetsMacros.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/widgets') diff --git a/src/widgets/Qt5WidgetsMacros.cmake b/src/widgets/Qt5WidgetsMacros.cmake index 836656f705..7ebc7e6673 100644 --- a/src/widgets/Qt5WidgetsMacros.cmake +++ b/src/widgets/Qt5WidgetsMacros.cmake @@ -58,7 +58,7 @@ MACRO (QT5_WRAP_UI outfiles ) ADD_CUSTOM_COMMAND(OUTPUT ${outfile} COMMAND ${QT_UIC_EXECUTABLE} ARGS ${ui_options} -o ${outfile} ${infile} - MAIN_DEPENDENCY ${infile}) + MAIN_DEPENDENCY ${infile} VERBATIM) SET(${outfiles} ${${outfiles}} ${outfile}) ENDFOREACH (it) -- cgit v1.2.3