suppress warnings from clang as well

release/4.3a0
Varun Agrawal 2020-11-27 19:37:18 -05:00
parent cb115560ec
commit 7eea8cd8ba
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ if(WIN32)
else()
if("${CMAKE_BUILD_TYPE}" STREQUAL "Release")
# Suppress all warnings from 3rd party sources.
set_source_files_properties(${3rdparty_srcs} PROPERTIES COMPILE_FLAGS "-w")
set_source_files_properties(${3rdparty_srcs} PROPERTIES COMPILE_FLAGS "-w -Wno-everything")
else()
set_source_files_properties(${3rdparty_srcs} PROPERTIES COMPILE_FLAGS "-Wno-error")
endif()