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)