From 4dc394990e9f45b7056c2507fbd3b2dabc81a21d Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Mon, 27 Aug 2012 21:53:14 -0700 Subject: opencv: use new dsl --- Library/Formula/opencv.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') diff --git a/Library/Formula/opencv.rb b/Library/Formula/opencv.rb index f5b00d2b3..ae07d8965 100644 --- a/Library/Formula/opencv.rb +++ b/Library/Formula/opencv.rb @@ -42,7 +42,7 @@ class Opencv < Formula -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF ] - if ARGV.build_32_bit? + if build.build_32_bit? args << "-DCMAKE_OSX_ARCHITECTURES=i386" args << "-DOPENCV_EXTRA_C_FLAGS='-arch i386 -m32'" args << "-DOPENCV_EXTRA_CXX_FLAGS='-arch i386 -m32'" -- cgit v1.2.3