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:
Tom Finegan 2016-02-25 09:37:11 -08:00
parent ae2fbfe0cf
commit 599e4e8bd2

View File

@ -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.