CMake: Add GS- flag to MSVC bulds

This commit is contained in:
TellowKrinkle authored and tellowkrinkle committed 2022-08-23 03:32:26 -05:00
1 parent 63e9d47f09
commit 5d6348fbf9
1 file changed
+1
+1
View File
@@ -42,6 +42,7 @@ if(MSVC)
if (MSVC_VERSION GREATER_EQUAL 1930)
target_compile_options(PCSX2_FLAGS INTERFACE /fp:contract)
endif()
target_compile_options(PCSX2_FLAGS INTERFACE /GS-)
else()
target_compile_options(PCSX2_FLAGS INTERFACE
-ffp-contract=fast