mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 04:42:18 +02:00
cmake: Enable stricter MSVC compiler options
This commit is contained in:
parent
166dc4909d
commit
b7f6ae7d7b
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user