mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-13 17:50:13 +01:00
CMake: Add GS- flag to MSVC bulds
This commit is contained in:
1 parent
63e9d47f09
commit
5d6348fbf9
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user