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 <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2015-01-04 20:06:55 -08:00
parent fc39b9b151
commit 087723adb0
1 changed files with 5 additions and 1 deletions

View File

@ -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()