0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 04:42:18 +02:00

aja,aja-output-ui: Calm deprecation warnings on Clang and GCC

This commit is contained in:
tytan652 2022-07-19 13:15:26 +02:00 committed by Ryan Foster
parent 678b0287e6
commit 77a174ddac
2 changed files with 9 additions and 0 deletions

View File

@ -83,6 +83,11 @@ else()
target_link_libraries(aja-output-ui PRIVATE X11::X11 Qt::GuiPrivate)
endif()
if(NOT MSVC)
target_compile_options(aja-output-ui
PRIVATE -Wno-error=deprecated-declarations)
endif()
set_target_properties(aja-output-ui PROPERTIES FOLDER "frontend" PREFIX "")
get_target_property(_SOURCES aja-output-ui SOURCES)

View File

@ -64,6 +64,10 @@ elseif(OS_WINDOWS)
target_link_options(aja PRIVATE "LINKER:/IGNORE:4099")
endif()
if(NOT MSVC)
target_compile_options(aja PRIVATE -Wno-error=deprecated-declarations)
endif()
set_target_properties(aja PROPERTIES FOLDER "plugins/aja" PREFIX "")
setup_plugin_target(aja)