Merge pull request #1834 from zoddicus/addRTTIFlag

Explicitly remove RTTI in the top-level build config
This commit is contained in:
John Kessenich 2019-07-12 18:29:13 -06:00 committed by GitHub
commit 854439c6b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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.