From 7138faa5cd9909996a9f087463c99386d7c985c9 Mon Sep 17 00:00:00 2001 From: TellowKrinkle Date: Tue, 27 Jun 2023 00:18:56 -0500 Subject: [PATCH] CMake: Support linked ffmpeg on macOS --- cmake/BuildParameters.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmake/BuildParameters.cmake b/cmake/BuildParameters.cmake index 1071ba0ac9..f9f496c4e2 100644 --- a/cmake/BuildParameters.cmake +++ b/cmake/BuildParameters.cmake @@ -36,6 +36,9 @@ if(UNIX AND NOT APPLE) option(X11_API "Enable X11 support" ON) option(WAYLAND_API "Enable Wayland support" ON) option(DBUS_API "Enable DBus support for screensaver inhibiting" ON) +endif() + +if(UNIX) option(USE_LINKED_FFMPEG "Links with ffmpeg instead of using dynamic loading" OFF) endif()