Skip to content

Commit 3f417a8

Browse files
committed
disable OpenCL so that MOG2 model I/O works
1 parent c2337ae commit 3f417a8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

setup.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,11 @@ def main():
114114
# and skbuild bails out on seeing that
115115
"-DINSTALL_CREATE_DISTRIB=ON",
116116

117+
# Disable OpenCL.
118+
"-DWITH_OPENCL=OFF",
119+
"-DWITH_OPENCLAMDFFT=OFF",
120+
"-DWITH_OPENCLAMDBLAS=OFF",
121+
117122
# See opencv/CMakeLists.txt for options and defaults
118123
"-DBUILD_opencv_apps=OFF",
119124
"-DBUILD_SHARED_LIBS=OFF",

0 commit comments

Comments
 (0)