Merge pull request #5839 from leoetlino/more-warnings
Externals/glslang: Silent even more warnings
This commit is contained in:
commit
334e117da7
|
@ -60,7 +60,11 @@ add_compile_options(-Wno-reorder)
|
|||
add_compile_options(-Wno-sign-compare)
|
||||
add_compile_options(-Wno-parentheses)
|
||||
add_compile_options(-Wno-unused-variable)
|
||||
add_compile_options(-Wno-unused-but-set-variable)
|
||||
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
||||
add_compile_options(-Wno-unused-but-set-variable)
|
||||
elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
||||
add_compile_options(-Wno-missing-variable-declarations)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
add_library(glslang STATIC ${SRCS})
|
||||
|
|
Loading…
Reference in New Issue