mirror of https://github.com/PCSX2/pcsx2.git
CMake: Add GS- flag to MSVC bulds
This commit is contained in:
parent
63e9d47f09
commit
5d6348fbf9
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue