Skip to content

Commit 07c4d73

Browse files
committed
disable MSMF in headless builds #263
1 parent b043422 commit 07c4d73

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ def main():
134134
# it seems that cocoa cannot be disabled so on macOS the package is not truly headless
135135
cmake_args.append("-DWITH_WIN32UI=OFF")
136136
cmake_args.append("-DWITH_QT=OFF")
137+
cmake_args.append("-DWITH_MSMF=OFF") # see: https://github.com/skvark/opencv-python/issues/263
137138

138139
if sys.platform.startswith('linux'):
139140
cmake_args.append("-DWITH_V4L=ON")

0 commit comments

Comments
 (0)