mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-23 15:06:32 +00:00
Disable Clang "-Wshorten-64-to-32" for files
3rdParty source files and some renderdoc files which include 3rdparty header files Disable "-Wshorten-64-to-32" for the whole of qrenderdoc render_python.cxx triggers the warning
This commit is contained in:
committed by
Baldur Karlsson
parent
0d02425a87
commit
fb04266122
@@ -17,7 +17,7 @@ set(MODULE_DEFINES
|
||||
PRIVATE -DRENDERDOC_PLATFORM_LINUX)
|
||||
|
||||
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unknown-warning-option -Wno-unused-private-field -Wno-shadow")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unknown-warning-option -Wno-unused-private-field -Wno-shadow -Wno-shorten-64-to-32")
|
||||
endif()
|
||||
|
||||
if(CMAKE_COMPILER_IS_GNUCXX)
|
||||
|
||||
Reference in New Issue
Block a user