mirror of
https://github.com/opencv/opencv.git
synced 2024-11-27 20:50:25 +08: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