feat(cmake): enforce utf8 (#2115)

This commit is contained in:
Quentin 2023-09-12 20:20:29 +02:00 committed by GitHub
parent e0ae6837d0
commit 18bd117783

View File

@ -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 ()