feat(cmake): enforce utf8 (#2115)
This commit is contained in:
parent
52896b548f
commit
03b1668589
@ -34,6 +34,8 @@ file(GLOB_RECURSE SRC_MAIN
|
|||||||
|
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
add_compile_options(/bigobj)
|
add_compile_options(/bigobj)
|
||||||
|
add_compile_options("$<$<C_COMPILER_ID:MSVC>:/utf-8>")
|
||||||
|
add_compile_options("$<$<CXX_COMPILER_ID:MSVC>:/utf-8>")
|
||||||
else ()
|
else ()
|
||||||
add_compile_options(-Wa,-mbig-obj)
|
add_compile_options(-Wa,-mbig-obj)
|
||||||
endif ()
|
endif ()
|
||||||
|
Reference in New Issue
Block a user