1
0
mirror of https://github.com/citra-emu/citra.git synced 2024-12-22 01:10:08 +00:00

Merge pull request from citra-emu/neobrain-rtti

Enable RTTI on Windows builds.
This commit is contained in:
Tony Wasserka 2015-11-12 17:19:38 +01:00
commit 161be512fd

View File

@ -92,9 +92,8 @@ else()
# /Zi - Output debugging information
# /Zo - enahnced debug info for optimized builds
set(CMAKE_C_FLAGS "/W3 /MP /Zi /Zo" CACHE STRING "" FORCE)
# /GR- - Disable RTTI
# /EHsc - C++-only exception handling semantics
set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} /GR- /EHsc" CACHE STRING "" FORCE)
set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} /EHsc" CACHE STRING "" FORCE)
# /MDd - Multi-threaded Debug Runtime DLL
set(CMAKE_C_FLAGS_DEBUG "/Od /MDd" CACHE STRING "" FORCE)