diff options
-rw-r--r-- | ConfigureChecks.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
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() |