Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 07c4d73

Browse files
committedMar 28, 2020
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
 

‎setup.py‎

Lines changed: 1 addition & 0 deletions
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)
Please sign in to comment.