mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-23 03:02:53 +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::pugixml
|
||||||
3rdparty::gsl)
|
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)
|
set_source_files_properties("../../Utilities/JIT.cpp" PROPERTIES COMPILE_FLAGS -fno-rtti)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user