Skip to content

Commit f1c8e04

Browse files
committed
ios framework: don't disable opencv_world in dynamic framework
1 parent a78d143 commit f1c8e04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platforms/ios/build_framework.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def getCMakeArgs(self, arch, target):
135135
] if self.dynamic else [])
136136

137137
if len(self.exclude) > 0:
138-
args += ["-DBUILD_opencv_world=OFF"]
138+
args += ["-DBUILD_opencv_world=OFF"] if not self.dynamic else []
139139
args += ["-DBUILD_opencv_%s=OFF" % m for m in self.exclude]
140140

141141
return args

0 commit comments

Comments
 (0)