mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2024-12-22 20:17:24 +08:00
feat(cmake): enforce utf8 (#2115)
This commit is contained in:
parent
e0ae6837d0
commit
18bd117783
@ -34,6 +34,8 @@ file(GLOB_RECURSE SRC_MAIN
|
||||
|
||||
if (MSVC)
|
||||
add_compile_options(/bigobj)
|
||||
add_compile_options("$<$<C_COMPILER_ID:MSVC>:/utf-8>")
|
||||
add_compile_options("$<$<CXX_COMPILER_ID:MSVC>:/utf-8>")
|
||||
else ()
|
||||
add_compile_options(-Wa,-mbig-obj)
|
||||
endif ()
|
||||
|
Loading…
Reference in New Issue
Block a user