Skip to content

Commit fb8640c

Browse files
committed
Use /utf-8 compiler option for MSVC (needed for newer fmt lib versions)
1 parent c9c1edd commit fb8640c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ set(CMAKE_CXX_EXTENSIONS OFF)
4646

4747
if (MSVC)
4848
add_definitions(-D_CRT_SECURE_NO_WARNINGS -DNOMINMAX)
49-
add_compile_options(-wd4996)
49+
add_compile_options(-wd4996 -utf-8)
5050
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /ignore:4099")
5151
else()
5252
add_compile_options(-Wall)

0 commit comments

Comments
 (0)