fixes
This commit is contained in:
parent
a10a7279a8
commit
c54ef78220
@ -15,7 +15,7 @@ Script will create <outputdir>, if it's missing, and a few its subdirectories:
|
|||||||
build/
|
build/
|
||||||
iPhoneOS-*/
|
iPhoneOS-*/
|
||||||
[cmake-generated build tree for an iOS device target]
|
[cmake-generated build tree for an iOS device target]
|
||||||
iPhoneSimulator/
|
iPhoneSimulator-*/
|
||||||
[cmake-generated build tree for iOS simulator]
|
[cmake-generated build tree for iOS simulator]
|
||||||
opencv2.framework/
|
opencv2.framework/
|
||||||
[the framework content]
|
[the framework content]
|
||||||
@ -46,7 +46,7 @@ def build_opencv(srcroot, buildroot, target, arch):
|
|||||||
if arch.startswith("armv"):
|
if arch.startswith("armv"):
|
||||||
cmakeargs += " -DENABLE_NEON=ON"
|
cmakeargs += " -DENABLE_NEON=ON"
|
||||||
|
|
||||||
# if cmake cache exists, just rerun cmake to update OpenCV.xproj if necessary
|
# if cmake cache exists, just rerun cmake to update OpenCV.xcodeproj if necessary
|
||||||
if os.path.isfile(os.path.join(builddir, "CMakeCache.txt")):
|
if os.path.isfile(os.path.join(builddir, "CMakeCache.txt")):
|
||||||
os.system("cmake %s ." % (cmakeargs,))
|
os.system("cmake %s ." % (cmakeargs,))
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user