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) if (MSVC_VERSION GREATER_EQUAL 1930)
target_compile_options(PCSX2_FLAGS INTERFACE /fp:contract) target_compile_options(PCSX2_FLAGS INTERFACE /fp:contract)
endif() endif()
target_compile_options(PCSX2_FLAGS INTERFACE /GS-)
else() else()
target_compile_options(PCSX2_FLAGS INTERFACE target_compile_options(PCSX2_FLAGS INTERFACE
-ffp-contract=fast -ffp-contract=fast