ios: don't force BUILD_opencv_world=OFF in case of excluded modules
authorAlexander Alekhin <alexander.a.alekhin@gmail.com>
Mon, 28 Sep 2020 01:11:15 +0000 (01:11 +0000)
committerAlexander Alekhin <alexander.a.alekhin@gmail.com>
Mon, 28 Sep 2020 01:11:15 +0000 (01:11 +0000)
platforms/ios/build_framework.py

index 0ff7361..223542d 100755 (executable)
@@ -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: