obs-ffmpeg: Disable compiler warnings about non-exhaustive switch cases
parent
7bb2f33417
commit
3f2aad12cd
|
@ -56,6 +56,11 @@ endif()
|
||||||
|
|
||||||
set_target_properties(obs-ffmpeg PROPERTIES FOLDER "plugins/obs-ffmpeg" PREFIX
|
set_target_properties(obs-ffmpeg PROPERTIES FOLDER "plugins/obs-ffmpeg" PREFIX
|
||||||
"")
|
"")
|
||||||
|
target_compile_options(
|
||||||
|
obs-ffmpeg
|
||||||
|
PRIVATE
|
||||||
|
$<$<OR:$<C_COMPILER_ID:Clang>,$<C_COMPILER_ID:AppleClang>,$<C_COMPILER_ID:GNU>>:-Wno-switch>
|
||||||
|
)
|
||||||
|
|
||||||
if(OS_WINDOWS)
|
if(OS_WINDOWS)
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
|
|
Loading…
Reference in New Issue