Ignore GCC no-deprecated-copy warnings (#3074)

This commit is contained in:
Changming Sun 2020-02-22 11:48:27 -08:00 committed by GitHub
parent a0c9f679fc
commit ae1f35fb9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -603,7 +603,7 @@ else()
endif()
if(HAS_DEPRECATED_COPY)
#too many such errors in eigen and gemmlowp
string(APPEND CMAKE_CXX_FLAGS_DEBUG " -Wno-deprecated-copy")
string(APPEND CMAKE_CXX_FLAGS " -Wno-deprecated-copy")
endif()
if(HAS_PARENTHESES)
string(APPEND CMAKE_CXX_FLAGS " -Wno-parentheses")