aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/opencv.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/opencv.rb')
-rw-r--r--Library/Formula/opencv.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/opencv.rb b/Library/Formula/opencv.rb
index 00e4a8bbd..6f779fb18 100644
--- a/Library/Formula/opencv.rb
+++ b/Library/Formula/opencv.rb
@@ -34,12 +34,12 @@ class Opencv < Formula
end
def options
- [['--build32', 'Force a 32-bit build.']]
+ [["--32-bit", "Build 32-bit only."]]
end
def install
args = std_cmake_parameters.split
- args << "-DOPENCV_EXTRA_C_FLAGS='-arch i386 -m32'" if ARGV.include? '--build32'
+ args << "-DOPENCV_EXTRA_C_FLAGS='-arch i386 -m32'" if ARGV.build_32_bit?
# The CMake `FindPythonLibs` Module is dumber than a bag of hammers when
# more than one python installation is available---for example, it clings