1
0
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:
Lassi Hämäläinen 2018-09-28 23:44:46 +03:00 committed by Ivan
parent a070a414a6
commit 23432d420d

View File

@ -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()