From 863e03b5e59c24b5a3fd2174362bcb36363f74dc Mon Sep 17 00:00:00 2001 From: Oleh Kuznetsov Date: Mon, 26 Oct 2026 18:16:49 +0000 Subject: [PATCH] layersvt: Suppress deprecated declarations warning for perfetto.cc --- layersvt/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layersvt/CMakeLists.txt b/layersvt/CMakeLists.txt index 99241a66bd..7ec40e3c55 100644 --- a/layersvt/CMakeLists.txt +++ b/layersvt/CMakeLists.txt @@ -45,6 +45,10 @@ else() add_compile_options(-Wpointer-arith) endif() +if (NOT MSVC) + set_source_files_properties(perfetto/perfetto.cc PROPERTIES COMPILE_OPTIONS "-Wno-deprecated-declarations") +endif() + add_subdirectory(common) if(BUILD_APIDUMP)