From 087723adb064f23e32849c3d2c0f851717ee8b28 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 4 Jan 2015 20:06:55 -0800 Subject: Suppress the check for ' as a formatting character on Windows. Change-Id: I006359faeeeb5d01ecdb57878c599c5e8a93a77f Reviewed-on: https://code.wireshark.org/review/6319 Reviewed-by: Guy Harris --- ConfigureChecks.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'ConfigureChecks.cmake') diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index d24f55213a..228da5758c 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -153,10 +153,14 @@ endif() # be different from the system's printf since GLib can optionally use # its own printf implementation.) # -if (CMAKE_CROSSCOMPILING) +if (CMAKE_CROSSCOMPILING OR WIN32) # # Play it safe when cross-compiling. # + # XXX - compiling and trying to run the test below appears + # to loop infinitely on Windows, and the locale is wrong in + # any case, so we don't do this on Window for now. + # set(HAVE_GLIB_PRINTF_GROUPING FALSE) else() cmake_push_check_state() -- cgit v1.2.1