From 8cb57aac1f375ece190a615a9de1b40bf2392469 Mon Sep 17 00:00:00 2001 From: Kurt Kartaltepe Date: Sat, 30 Jul 2022 11:18:25 -0700 Subject: [PATCH] obs-ffmpeg: Mark rist/srt required When compiling with the new flag these are required, if we dont fail here we instead get a more cryptic failure that the targets are unassigned later in the file. This should make it easier to find the flag to turn off or packages being searched for. --- plugins/obs-ffmpeg/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/obs-ffmpeg/CMakeLists.txt b/plugins/obs-ffmpeg/CMakeLists.txt index f34de9a55..e154c34f2 100644 --- a/plugins/obs-ffmpeg/CMakeLists.txt +++ b/plugins/obs-ffmpeg/CMakeLists.txt @@ -18,8 +18,8 @@ add_library(OBS::ffmpeg ALIAS obs-ffmpeg) add_subdirectory(ffmpeg-mux) if(ENABLE_NEW_MPEGTS_OUTPUT) - find_package(Librist) - find_package(Libsrt) + find_package(Librist REQUIRED) + find_package(Libsrt REQUIRED) endif() configure_file(${CMAKE_CURRENT_SOURCE_DIR}/obs-ffmpeg-config.h.in