diff --git a/ui/flutter/linux/CMakeLists.txt b/ui/flutter/linux/CMakeLists.txt index 46b08dd0..5214f0f8 100644 --- a/ui/flutter/linux/CMakeLists.txt +++ b/ui/flutter/linux/CMakeLists.txt @@ -42,6 +42,7 @@ endif() function(APPLY_STANDARD_SETTINGS TARGET) target_compile_features(${TARGET} PUBLIC cxx_std_14) target_compile_options(${TARGET} PRIVATE -Wall -Werror) + target_compile_options(${TARGET} PRIVATE -Wno-error=deprecated-declarations) # Allow deprecated warnings target_compile_options(${TARGET} PRIVATE "$<$>:-O3>") target_compile_definitions(${TARGET} PRIVATE "$<$>:NDEBUG>") endfunction()