Merge pull request #1834 from zoddicus/addRTTIFlag
Explicitly remove RTTI in the top-level build config
This commit is contained in:
commit
854439c6b9
1 changed files with 2 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue