mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-15 07:44:10 +00:00
obs-x264: Disable compiler warnings about non-exhaustive switch cases
This commit is contained in:
parent
b9237aed29
commit
deeaccb3d1
|
@ -16,6 +16,12 @@ target_link_libraries(obs-x264 PRIVATE LIBX264::LIBX264 OBS::opts-parser)
|
|||
|
||||
set_target_properties(obs-x264 PROPERTIES FOLDER "plugins" PREFIX "")
|
||||
|
||||
target_compile_options(
|
||||
obs-x264
|
||||
PRIVATE
|
||||
$<$<OR:$<C_COMPILER_ID:Clang>,$<C_COMPILER_ID:AppleClang>,$<C_COMPILER_ID:GNU>>:-Wno-switch>
|
||||
)
|
||||
|
||||
if(OS_WINDOWS)
|
||||
set(MODULE_DESCRIPTION "OBS x264 encoder")
|
||||
configure_file(${CMAKE_SOURCE_DIR}/cmake/bundle/windows/obs-module.rc.in
|
||||
|
|
Loading…
Reference in a new issue