mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-26 08:39:36 +00:00
Remove -Wno-unused-lambda-capture so we get those errors on normal clang
* Unclear why this was blocked on OS X clang as it clearly fires, but this means this warning is no longer OS X only which makes iterating on normal machines easier.
This commit is contained in:
1 file changed
-4
@@ -436,10 +436,6 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
list(APPEND warning_flags -Wshorten-64-to-32)
|
||||
endif()
|
||||
|
||||
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 5.0 AND NOT APPLE)
|
||||
list(APPEND warning_flags -Wno-unused-lambda-capture)
|
||||
endif()
|
||||
|
||||
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 13.0 AND NOT APPLE)
|
||||
list(APPEND warning_flags -Wno-unused-but-set-variable -Wno-deprecated-copy)
|
||||
endif()
|
||||
|
||||
Reference in new issue
Block a user