Skip to content

Commit d608d69

Browse files
committedMar 28, 2020
disable MSMF in headless builds #263
1 parent 64f8d2e commit d608d69

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎setup.py

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

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

0 commit comments

Comments
 (0)
Please sign in to comment.