platforms/android: fix --no_samples_build flag not working

This commit is contained in:
Alex Studer 2020-06-16 00:11:26 -04:00
parent 56373428dc
commit d84b213f59
No known key found for this signature in database
GPG Key ID: 867ABB65DC46EFF7

View File

@ -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