diff --git a/src/cmake/build_fmt.cmake b/src/cmake/build_fmt.cmake index 95a497c70a..973564fe56 100644 --- a/src/cmake/build_fmt.cmake +++ b/src/cmake/build_fmt.cmake @@ -6,7 +6,7 @@ # fmt by hand! ###################################################################### -set_cache (fmt_BUILD_VERSION 10.2.1 "fmt version for local builds") +set_cache (fmt_BUILD_VERSION 12.0.0 "fmt version for local builds") set (fmt_GIT_REPOSITORY "https://github.com/fmtlib/fmt") set (fmt_GIT_TAG "${fmt_BUILD_VERSION}") # Note: fmt doesn't put "v" in front of version for its git tags diff --git a/src/cmake/compiler.cmake b/src/cmake/compiler.cmake index 8dffb97d36..a51dcdfa68 100644 --- a/src/cmake/compiler.cmake +++ b/src/cmake/compiler.cmake @@ -197,6 +197,7 @@ endif () if (MSVC) # Microsoft specific options + add_compile_options (/utf-8) add_compile_options (/W1) add_compile_options (/MP) add_compile_definitions (_CRT_SECURE_NO_DEPRECATE)