mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Disable FFmpeg support when building the Python wheel (#2978)
This commit is contained in:
parent
0947215ddb
commit
6ae301a117
3
setup.py
3
setup.py
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user