[Beignet] [PATCH 2/2] utest: suspend deprecated-declarations warning.

Yang Rong rong.r.yang at intel.com
Wed Dec 7 09:16:26 UTC 2016


Signed-off-by: Yang Rong <rong.r.yang at intel.com>
---
 utests/CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/utests/CMakeLists.txt b/utests/CMakeLists.txt
index 0ca7f77..8b522de 100644
--- a/utests/CMakeLists.txt
+++ b/utests/CMakeLists.txt
@@ -373,6 +373,8 @@ endif ()
 if (COMPILER STREQUAL "CLANG")
   SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-tautological-compare")
 endif ()
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-declarations")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-deprecated-declarations" )
 
 ADD_LIBRARY(utests SHARED ${utests_sources})
 
-- 
2.1.4



More information about the Beignet mailing list