From ae1f35fb9fce25162dd73b73d3061db313b6d9f9 Mon Sep 17 00:00:00 2001 From: Changming Sun Date: Sat, 22 Feb 2020 11:48:27 -0800 Subject: [PATCH] Ignore GCC no-deprecated-copy warnings (#3074) --- cmake/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 32c4085621..eb4e0841c2 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -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")