mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-13 09:20:13 +00:00
Apply -Wno-deprecated-literal-operator to demos project
- copied over from main RenderDoc project
This commit is contained in:
1 parent
75b3b7b95b
commit
0cb2ab33e0
1 file changed
+4
@@ -236,6 +236,10 @@ set(SRC main.cpp
|
||||
|
||||
project(demos)
|
||||
|
||||
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(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
||||
list(APPEND warning_flags -Werror -Wno-unused-result -Wno-nullability-completeness)
|
||||
|
||||
Reference in new issue
Block a user