cmake: Enable stricter MSVC compiler options

This commit is contained in:
derrod
2023-03-01 20:39:53 +01:00
committed by Rodney
parent 166dc4909d
commit b7f6ae7d7b
+5 -1
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"