Signed-off-by: Yang Rong <[email protected]>
---
 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

_______________________________________________
Beignet mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/beignet

Reply via email to