mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 22:11:26 +12:00
CMake: Disable RTTI for jit.cpp on MSVC
This commit is contained in:
parent
a070a414a6
commit
23432d420d
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue