Skip to content

Commit e42c4e9

Browse files
authored
Merge pull request #1123 from asmorkalov:as/no_msmf_win_headless
Disabled Orbbec backend on Windows in headless configuration as it uses MSMF API too
2 parents fa742a4 + 609ff9b commit e42c4e9

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy