mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-19 20:26:56 +00:00
Add warning suppression for clang too
This commit is contained in:
1 parent
8b79a213b7
commit
af27e0de3b
1 file changed
+1
-3
@@ -178,12 +178,10 @@ elseif(UNIX)
|
||||
list(APPEND sources os/posix/posix_libentry.cpp)
|
||||
endif()
|
||||
|
||||
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR APPLE)
|
||||
set_source_files_properties(3rdparty/tinyexr/tinyexr.cpp
|
||||
PROPERTIES COMPILE_FLAGS "-Wno-extra -Wno-unused-function")
|
||||
endif()
|
||||
|
||||
if(CMAKE_COMPILER_IS_GNUCXX OR APPLE)
|
||||
set_source_files_properties(3rdparty/jpeg-compressor/jpgd.cpp
|
||||
PROPERTIES COMPILE_FLAGS "-Wno-shift-negative-value")
|
||||
endif()
|
||||
|
||||
Reference in new issue
Block a user