mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-10 04:20:06 +00:00
Merge pull request #1834 from zoddicus/addRTTIFlag
Explicitly remove RTTI in the top-level build config
This commit is contained in:
commit
854439c6b9
@ -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…
Reference in New Issue
Block a user