From 262a52f3063c50fbb1236e2cba2bd3c68f9979bb Mon Sep 17 00:00:00 2001 From: Pierre Dulac Date: Tue, 5 Jan 2016 15:34:39 +0100 Subject: [PATCH] Enable NEON for the arm64 architecture too and fix the compilation for iOS in the same time --- platforms/ios/build_framework.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/ios/build_framework.py b/platforms/ios/build_framework.py index 2a8dc7e30e..34500d7f14 100644 --- a/platforms/ios/build_framework.py +++ b/platforms/ios/build_framework.py @@ -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)