feat(cmake): enforce utf8 (#2115)

This commit is contained in:
Quentin 2023-09-12 20:20:29 +02:00 committed by GitHub
parent 52896b548f
commit 03b1668589
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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