mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-24 10:14:13 -05:00
cmake: Specify utf-8 for MSVC builds
If there is no BOM, MSVC defaults to the user's code page which can result in errors if UTF-8 characters are present in the source files.
This commit is contained in:
committed by
Ryan Foster
parent
723ca8f034
commit
510f0116a6
@@ -67,7 +67,8 @@ if(OS_WINDOWS AND MSVC)
|
||||
/DUNICODE
|
||||
/D_UNICODE
|
||||
/D_CRT_SECURE_NO_WARNINGS
|
||||
/D_CRT_NONSTDC_NO_WARNINGS)
|
||||
/D_CRT_NONSTDC_NO_WARNINGS
|
||||
/utf-8)
|
||||
|
||||
add_link_options(
|
||||
"LINKER:/OPT:REF"
|
||||
|
||||
Reference in New Issue
Block a user