Skip to content

Commit

Permalink
disable MSMF in headless builds #263
Browse files Browse the repository at this point in the history
  • Loading branch information
skvark committed Mar 28, 2020
1 parent b043422 commit 07c4d73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ def main():
# it seems that cocoa cannot be disabled so on macOS the package is not truly headless
cmake_args.append("-DWITH_WIN32UI=OFF")
cmake_args.append("-DWITH_QT=OFF")
cmake_args.append("-DWITH_MSMF=OFF") # see: https://github.com/skvark/opencv-python/issues/263

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

0 comments on commit 07c4d73

Please sign in to comment.