cmake: Silence clang/gcc deprecation warnings.
Parts of libwebm continue to use std::auto_ptr for support of older compilers and target systems. Silence the warnings its use causes. Change-Id: Iac8f35c9fdaaeb1cbb637d0777b46cdad54843ed
This commit is contained in:
parent
ae2fbfe0cf
commit
599e4e8bd2
@ -57,6 +57,8 @@ if (MSVC)
|
||||
set(CMAKE_CXX_FLAGS "/W4 ${CMAKE_CXX_FLAGS}" CACHE STRING "" FORCE)
|
||||
else ()
|
||||
set(CMAKE_CXX_FLAGS "-Wall -Wextra ${CMAKE_CXX_FLAGS}" CACHE STRING "" FORCE)
|
||||
set(CMAKE_CXX_FLAGS "-Wno-deprecated ${CMAKE_CXX_FLAGS}" CACHE
|
||||
STRING "" FORCE)
|
||||
endif ()
|
||||
|
||||
# Libwebm section.
|
||||
|
Loading…
x
Reference in New Issue
Block a user