mirror of
https://github.com/zhigang1992/PerspectiveTransform.git
synced 2026-05-13 10:06:42 +08:00
13 lines
326 B
Bash
Executable File
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
|