Files
PerspectiveTransform/Example/OpenCV-OSX-Tests/install-opencv.sh
2020-09-09 22:20:59 -07:00

13 lines
326 B
Bash
Executable File

#! /usr/bin/env bash
# install-opencv.sh
libraries="openblas tbb gcc"
for package in $libraries opencv
do
# due to Warning: Refusing to link macOS-provided software: openblas
[ $package == openblas ] && check=list || check=link
brew $check $package || brew install --ignore-dependencies --force-bottle $package
done