diff --git a/plugins/obs-ffmpeg/CMakeLists.txt b/plugins/obs-ffmpeg/CMakeLists.txt index c482ef191..239ecf31a 100644 --- a/plugins/obs-ffmpeg/CMakeLists.txt +++ b/plugins/obs-ffmpeg/CMakeLists.txt @@ -56,6 +56,11 @@ endif() set_target_properties(obs-ffmpeg PROPERTIES FOLDER "plugins/obs-ffmpeg" PREFIX "") +target_compile_options( + obs-ffmpeg + PRIVATE + $<$,$,$>:-Wno-switch> +) if(OS_WINDOWS) if(MSVC)