Fix character set error when compiling under non-English Windows.

pull/584/head
Wu, Ganhao 2021-09-04 02:15:55 +08:00
parent b81d76a223
commit c9d896c816
1 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,9 @@
cmake_minimum_required(VERSION 3.1)
project(xlnt_all)
add_compile_options("$<$<C_COMPILER_ID:MSVC>:/utf-8>")
add_compile_options("$<$<CXX_COMPILER_ID:MSVC>:/utf-8>")
# CTest setup
# include (CTest) # Add this for valgrind support; CTest works without it
enable_testing()