mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-07 14:35:48 +00:00
Silence clang warnings for glslang
This commit is contained in:
1 parent
2a88f015ef
commit
45f72944f1
1 file changed
+5
@@ -76,6 +76,11 @@ set(sources
|
||||
spirv_disassemble.cpp
|
||||
${glslang_sources})
|
||||
|
||||
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
set_source_files_properties(${glslang_dir}/SPIRV/GlslangToSpv.cpp
|
||||
PROPERTIES COMPILE_FLAGS "-Wno-tautological-constant-out-of-range-compare")
|
||||
endif()
|
||||
|
||||
add_library(rdoc_spirv OBJECT ${sources})
|
||||
target_compile_definitions(rdoc_spirv ${RDOC_DEFINITIONS})
|
||||
target_include_directories(rdoc_spirv ${RDOC_INCLUDES})
|
||||
Reference in new issue
Block a user