diff --git a/webrtc_controller_flutter/windows/CMakeLists.txt b/webrtc_controller_flutter/windows/CMakeLists.txt index 043c0f5..8972094 100644 --- a/webrtc_controller_flutter/windows/CMakeLists.txt +++ b/webrtc_controller_flutter/windows/CMakeLists.txt @@ -39,7 +39,7 @@ add_definitions(-DUNICODE -D_UNICODE) # of modifying this function. function(APPLY_STANDARD_SETTINGS TARGET) target_compile_features(${TARGET} PUBLIC cxx_std_17) - target_compile_options(${TARGET} PRIVATE /W4 /WX /wd"4100") + target_compile_options(${TARGET} PRIVATE /W4 /WX /wd"4100" /utf-8) target_compile_options(${TARGET} PRIVATE /EHsc) target_compile_definitions(${TARGET} PRIVATE "_HAS_EXCEPTIONS=0") target_compile_definitions(${TARGET} PRIVATE "$<$:_DEBUG>")