Disable FFmpeg support when building the Python wheel (#2978)

This commit is contained in:
Adrià 2024-07-09 21:56:22 +09:00 committed by GitHub
parent 0947215ddb
commit 6ae301a117
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -133,7 +133,8 @@ class CMakeBuild(build_ext):
extdir = os.path.abspath(os.path.dirname(self.get_ext_fullpath(ext.name))) extdir = os.path.abspath(os.path.dirname(self.get_ext_fullpath(ext.name)))
cmake_args = ['-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=' + extdir, cmake_args = ['-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=' + extdir,
'-DPYTHON_EXECUTABLE=' + sys.executable] '-DPYTHON_EXECUTABLE=' + sys.executable,
'-DDLIB_USE_FFMPEG=OFF',]
cmake_args += cmake_extra_options cmake_args += cmake_extra_options