ios: don't force BUILD_opencv_world=OFF in case of excluded modules

This commit is contained in:
Alexander Alekhin 2020-09-28 01:11:15 +00:00
parent 236ad4aeda
commit c16e2e6234

View File

@ -150,7 +150,6 @@ class Builder:
] if self.debug_info else [])
if len(self.exclude) > 0:
args += ["-DBUILD_opencv_world=OFF"] if not self.dynamic else []
args += ["-DBUILD_opencv_%s=OFF" % m for m in self.exclude]
if len(self.disable) > 0: