0
0
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:
derrod 2023-02-28 18:58:30 +01:00 committed by Rodney
parent 166dc4909d
commit b7f6ae7d7b

View File

@ -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"