mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-24 02:34:23 -05:00
cmake: Enable stricter MSVC compiler options
This commit is contained in:
@@ -68,7 +68,11 @@ if(OS_WINDOWS AND MSVC)
|
||||
/D_UNICODE
|
||||
/D_CRT_SECURE_NO_WARNINGS
|
||||
/D_CRT_NONSTDC_NO_WARNINGS
|
||||
/utf-8)
|
||||
/utf-8
|
||||
/permissive-
|
||||
/Zc:__cplusplus
|
||||
/Zc:preprocessor
|
||||
/std:c17)
|
||||
|
||||
add_link_options(
|
||||
"LINKER:/OPT:REF"
|
||||
|
||||
Reference in New Issue
Block a user