From 6ae301a1176761f15bdcfb4c98579649e72cdb10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0?= <1671644+arrufat@users.noreply.github.com> Date: Tue, 9 Jul 2024 21:56:22 +0900 Subject: [PATCH] Disable FFmpeg support when building the Python wheel (#2978) --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 219583b1f..0306f37a0 100644 --- a/setup.py +++ b/setup.py @@ -133,7 +133,8 @@ class CMakeBuild(build_ext): extdir = os.path.abspath(os.path.dirname(self.get_ext_fullpath(ext.name))) cmake_args = ['-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=' + extdir, - '-DPYTHON_EXECUTABLE=' + sys.executable] + '-DPYTHON_EXECUTABLE=' + sys.executable, + '-DDLIB_USE_FFMPEG=OFF',] cmake_args += cmake_extra_options