From 5d6348fbf93cd84be043476a499563ad3ebfbb41 Mon Sep 17 00:00:00 2001 From: TellowKrinkle Date: Sun, 14 Aug 2022 17:43:20 -0500 Subject: [PATCH] CMake: Add GS- flag to MSVC bulds --- pcsx2/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/pcsx2/CMakeLists.txt b/pcsx2/CMakeLists.txt index a2de0bb001..b9c560914f 100644 --- a/pcsx2/CMakeLists.txt +++ b/pcsx2/CMakeLists.txt @@ -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