diff --git a/.mac-setup.sh b/.mac-setup.sh index d450c6a5..4d06ca6c 100755 --- a/.mac-setup.sh +++ b/.mac-setup.sh @@ -134,6 +134,12 @@ file_path="${SCRIPT_DIR}/deps/modules/libwebp/CMakeLists.txt" # Use sed to replace the specified lines sed -i -e 's/option(WEBP_BUILD_ANIM_UTILS "Build animation utilities." ON)/option(WEBP_BUILD_ANIM_UTILS "Build animation utilities." OFF)/' "$file_path" sed -i -e 's/option(WEBP_BUILD_GIF2WEBP "Build the gif2webp conversion tool." ON)/option(WEBP_BUILD_GIF2WEBP "Build the gif2webp conversion tool." OFF)/' "$file_path" +sed -i -e 's/option(WEBP_BUILD_IMG2WEBP "Build the img2webp animation tool." ON)/option(WEBP_BUILD_IMG2WEBP "Build the img2webp animation tool." OFF)/' "$file_path" +sed -i -e 's/option(WEBP_BUILD_CWEBP "Build the cwebp command line tool." ON)/option(WEBP_BUILD_CWEBP "Build the cwebp command line tool." OFF)/' "$file_path" +sed -i -e 's/option(WEBP_BUILD_DWEBP "Build the dwebp command line tool." ON)/option(WEBP_BUILD_DWEBP "Build the dwebp command line tool." OFF)/' "$file_path" +sed -i -e 's/option(WEBP_BUILD_VWEBP "Build the vwebp viewer tool." ON)/option(WEBP_BUILD_VWEBP "Build the vwebp viewer tool." OFF)/' "$file_path" +sed -i -e 's/option(WEBP_BUILD_WEBPINFO "Build the webpinfo command line tool." ON)/option(WEBP_BUILD_WEBPINFO "Build the webpinfo command line tool." OFF)/' "$file_path" +sed -i -e 's/option(WEBP_BUILD_WEBPMUX "Build the webpmux command line tool." ON)/option(WEBP_BUILD_WEBPMUX "Build the webpmux command line tool." OFF)/' "$file_path" echo echo "${WHITE}Setup completed!${NC}"