Explicitly remove RTTI in the top-level build config

Fixes #1831
This commit is contained in:
Ryan Harrison 2019-07-12 14:25:18 -04:00
parent 71892a5eda
commit bbf172b518

View File

@ -105,6 +105,8 @@ else()
set(CMAKE_CXX_EXTENSIONS OFF)
endif()
add_compile_options(-fno-rtti)
function(glslang_set_link_args TARGET)
# For MinGW compiles, statically link against the GCC and C++ runtimes.
# This avoids the need to ship those runtimes as DLLs.