CMake: Add GS- flag to MSVC bulds

This commit is contained in:
TellowKrinkle 2022-08-14 17:43:20 -05:00 committed by tellowkrinkle
parent 63e9d47f09
commit 5d6348fbf9
1 changed files with 1 additions and 0 deletions

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