suppress warnings from clang as well
parent
cb115560ec
commit
7eea8cd8ba
|
@ -199,7 +199,7 @@ if(WIN32)
|
||||||
else()
|
else()
|
||||||
if("${CMAKE_BUILD_TYPE}" STREQUAL "Release")
|
if("${CMAKE_BUILD_TYPE}" STREQUAL "Release")
|
||||||
# Suppress all warnings from 3rd party sources.
|
# 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()
|
else()
|
||||||
set_source_files_properties(${3rdparty_srcs} PROPERTIES COMPILE_FLAGS "-Wno-error")
|
set_source_files_properties(${3rdparty_srcs} PROPERTIES COMPILE_FLAGS "-Wno-error")
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue