mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-24 15:36:33 +00:00
Ignore pointless warning on clang. Closes #3621
This commit is contained in:
@@ -440,6 +440,10 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
list(APPEND warning_flags -Wno-unused-but-set-variable -Wno-deprecated-copy)
|
||||
endif()
|
||||
|
||||
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 19.1)
|
||||
list(APPEND warning_flags -Wno-deprecated-literal-operator)
|
||||
endif()
|
||||
|
||||
if(NOT RELEASE_MODE)
|
||||
list(APPEND warning_flags -Werror)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user