Skip to content

Commit 4757b9b

Browse files
update msvc flag for unicode
1 parent 179628f commit 4757b9b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/cmake/compiler.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ endif ()
197197

198198
if (MSVC)
199199
# Microsoft specific options
200+
add_compile_options (/utf-8)
200201
add_compile_options (/W1)
201202
add_compile_options (/MP)
202203
add_compile_definitions (_CRT_SECURE_NO_DEPRECATE)

0 commit comments

Comments
 (0)