Skip to content

Commit 609ff9b

Browse files
committed
Disabled Orbbec backend on Windows in headless configuration as it uses MSMF API too.
1 parent fa742a4 commit 609ff9b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,10 +214,10 @@ def main():
214214
cmake_args.append("-DWITH_WIN32UI=OFF")
215215
cmake_args.append("-DWITH_QT=OFF")
216216
cmake_args.append("-DWITH_GTK=OFF")
217-
if is_CI_build:
218-
cmake_args.append(
219-
"-DWITH_MSMF=OFF"
220-
) # see: https://github.com/skvark/opencv-python/issues/263
217+
# see: https://github.com/skvark/opencv-python/issues/263
218+
# see: https://github.com/opencv/opencv-python/issues/771
219+
cmake_args.append("-DWITH_MSMF=OFF")
220+
cmake_args.append("-DWITH_OBSENSOR=OFF") # Orbbec cameras backend uses MSMF API
221221

222222
if sys.platform.startswith("linux") and not is64 and "bdist_wheel" in sys.argv:
223223
subprocess.check_call("patch -p0 < patches/patchOpenEXR", shell=True)

0 commit comments

Comments
 (0)