ios framework: don't disable opencv_world in dynamic framework

This commit is contained in:
Alexander Alekhin 2017-02-21 12:50:40 +03:00
parent a78d143c98
commit f1c8e04268

View File

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