We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 428ef7f + c62f373 commit 3c4e180Copy full SHA for 3c4e180
command/build_ios.sh
@@ -76,10 +76,16 @@ download_and_unzip "$MNN_IOS_URL" "$MACOS_CACHE" "MNN.framework"
76
# Download and unzip OpenCV iOS package
77
download_and_unzip "$OPENCV_IOS_URL" "$MACOS_CACHE" "opencv2.framework"
78
79
+if [ -n "$VERSION" ]; then
80
+ TAG="-$VERSION"
81
+else
82
+ TAG=""
83
+fi
84
+
85
86
TOOLCHAIN="$PWD/toolchain/ios.toolchain.cmake"
87
-BUILD_DIR="build/inspireface-ios"
88
+BUILD_DIR="build/inspireface-ios$TAG"
89
90
mkdir -p "$BUILD_DIR"
91
0 commit comments