mirror of
https://github.com/zebrajr/opencv.git
synced 2025-12-06 12:19:50 +01:00
platforms/android: fix --no_samples_build flag not working
This commit is contained in:
parent
56373428dc
commit
d84b213f59
|
|
@ -223,7 +223,7 @@ class Builder:
|
|||
BUILD_PERF_TESTS="OFF",
|
||||
BUILD_DOCS="OFF",
|
||||
BUILD_ANDROID_EXAMPLES=("OFF" if self.no_samples_build else "ON"),
|
||||
INSTALL_ANDROID_EXAMPLES="ON",
|
||||
INSTALL_ANDROID_EXAMPLES=("OFF" if self.no_samples_build else "ON"),
|
||||
)
|
||||
if self.ninja_path != 'ninja':
|
||||
cmake_vars['CMAKE_MAKE_PROGRAM'] = self.ninja_path
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user