mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 18:53:28 +01:00
CMake: Disable RTTI for jit.cpp on MSVC
This commit is contained in:
parent
a070a414a6
commit
23432d420d
@ -25,7 +25,9 @@ target_link_libraries(rpcs3_emu
|
||||
3rdparty::pugixml
|
||||
3rdparty::gsl)
|
||||
|
||||
if (NOT MSVC)
|
||||
if (MSVC)
|
||||
set_source_files_properties("../../Utilities/JIT.cpp" PROPERTIES COMPILE_FLAGS /GR-)
|
||||
else()
|
||||
set_source_files_properties("../../Utilities/JIT.cpp" PROPERTIES COMPILE_FLAGS -fno-rtti)
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user