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:
parent
678b0287e6
commit
77a174ddac
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user