mirror of
https://github.com/KjellKod/g3log.git
synced 2024-12-13 10:42:56 +01:00
force /utf-8 for MSVC compiler
This commit is contained in:
parent
5660732d82
commit
411b8e249c
@ -58,6 +58,7 @@ ENDIF()
|
||||
|
||||
|
||||
IF (MSVC OR MINGW)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /utf-8") # source code already in utf-8, force it for compilers in non-utf8_windows_locale
|
||||
set(PLATFORM_LINK_LIBRIES dbghelp)
|
||||
# VC11 bug: http://code.google.com/p/googletest/issues/detail?id=408
|
||||
# add_definition(-D_VARIADIC_MAX=10)
|
||||
|
Loading…
Reference in New Issue
Block a user