mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2026-10-11 17:58:06 +08:00
feat(cmake): enforce utf8 (#2115)
This commit is contained in:
1 parent
e0ae6837d0
commit
18bd117783
1 file changed
+2
@@ -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 ()
|
||||
|
||||
Reference in new issue
Block a user