Skip to content

Commit

Permalink
opencv-maa: fix audit issues
Browse files Browse the repository at this point in the history
  • Loading branch information
wangl-cc committed Aug 2, 2024
1 parent c1160c0 commit 44221fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Formula/opencv-maa.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class OpencvMaa < Formula
url "https://github.com/opencv/opencv/archive/refs/tags/4.10.0.tar.gz"
sha256 "b2171af5be6b26f7a06b1229948bbb2bdaa74fcf5cd097e0af6378fce50a6eb9"
license "Apache-2.0"
revision 1

livecheck do
url :stable
Expand Down Expand Up @@ -36,7 +37,7 @@ class OpencvMaa < Formula
def install
# Remove bundled libraries to make sure formula dependencies are used
libdirs = %w[ffmpeg libjasper libjpeg libjpeg-turbo libpng libtiff libwebp openexr openjpeg protobuf tbb zlib]
libdirs.each { |l| (buildpath/"3rdparty"/l).rmtree }
libdirs.each { |l| rm_r(buildpath/"3rdparty"/l) }

cmake_args = %W[
-DCMAKE_CXX_STANDARD=17
Expand Down

0 comments on commit 44221fc

Please sign in to comment.