Update libcvextern.sh

This commit is contained in:
Tiago Conceição
2023-04-22 23:32:05 +01:00
parent fe7e644e1a
commit 3fe2e76f3d
+1 -1
View File
@@ -163,7 +163,7 @@ if [ ! -d "$directory" ]; then
fi
echo "- Bulding"
if [ osVariant == "macOS" ]; then
if [ "$osVariant" == "macOS" ]; then
sed -i '' "s/-DBUILD_TIFF:BOOL=TRUE/-DBUILD_TIFF:BOOL=FALSE/g" "$directory/platforms/macos/configure" 2>/dev/null
if [ "$build_package" == "mini" ]; then
sed -i '' "s/\$FREETYPE_OPTION/\$FREETYPE_OPTION -DWITH_AVFOUNDATION:BOOL=FALSE -DWITH_FFMPEG:BOOL=FALSE -DWITH_GSTREAMER:BOOL=FALSE/g" "$directory/platforms/ubuntu/22.04/cmake_configure" 2>/dev/null