Enable NEON for the arm64 architecture too
and fix the compilation for iOS in the same time
This commit is contained in:
parent
92387b1ef8
commit
262a52f306
@ -126,7 +126,7 @@ class Builder:
|
||||
toolchain = self.getToolchain(arch, target)
|
||||
cmakecmd = self.getCMakeArgs(arch, target) + \
|
||||
(["-DCMAKE_TOOLCHAIN_FILE=%s" % toolchain] if toolchain is not None else [])
|
||||
if arch.startswith("armv"):
|
||||
if arch.startswith("armv") or arch.startswith("arm64"):
|
||||
cmakecmd.append("-DENABLE_NEON=ON")
|
||||
cmakecmd.append(self.opencv)
|
||||
cmakecmd.extend(cmakeargs)
|
||||
|
Loading…
x
Reference in New Issue
Block a user