Skip to content

Commit 36032d2

Browse files
iqzer0weop
authored andcommitted
Update CMakeLists.txt : tray_manager compatibility
1 parent 499979e commit 36032d2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

linux/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ endif()
4242
function(APPLY_STANDARD_SETTINGS TARGET)
4343
target_compile_features(${TARGET} PUBLIC cxx_std_14)
4444
target_compile_options(${TARGET} PRIVATE -Wall -Werror)
45+
# Allow deprecated declarations for tray_manager compatibility
46+
target_compile_options(${TARGET} PRIVATE -Wno-error=deprecated-declarations)
4547
target_compile_options(${TARGET} PRIVATE "$<$<NOT:$<CONFIG:Debug>>:-O3>")
4648
target_compile_definitions(${TARGET} PRIVATE "$<$<NOT:$<CONFIG:Debug>>:NDEBUG>")
4749
endfunction()

0 commit comments

Comments
 (0)