Skip to content

Commit 2a9bf07

Browse files
committed
Disable opencv_java_bindings_generator
Because we probably don't need that. Also add a commented line to disable `opencv_highgui` (we can safely build the cv2.so without it) ¡¡¡Thanks @AndreMiras!!!
1 parent 30fc604 commit 2a9bf07

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pythonforandroid/recipes/opencv/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ def build_arch(self, arch):
8787

8888
# Disable some opencv's features
8989
'-DBUILD_opencv_java=OFF',
90+
'-DBUILD_opencv_java_bindings_generator=OFF',
91+
# '-DBUILD_opencv_highgui=OFF',
9092
# '-DBUILD_opencv_imgproc=OFF',
9193
# '-DBUILD_opencv_flann=OFF',
9294
'-DBUILD_TESTS=OFF',

0 commit comments

Comments
 (0)