aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2013-03-08 08:14:48 -0800
committerAdam Vandenberg2013-03-08 08:14:48 -0800
commitca7c2b7f2392dcae9ae1efccbf89bc53010c9c84 (patch)
tree7a8ce791be9e198c3b48de77f5b03870b7b44847 /Library
parentffa68f067c989de909ca1011627b9cdf93b3c1f0 (diff)
downloadhomebrew-ca7c2b7f2392dcae9ae1efccbf89bc53010c9c84.tar.bz2
opencv: requires Xcode
Could probably patch for CLT-only, but I don't have a machine to test on - @adamv
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/opencv.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/opencv.rb b/Library/Formula/opencv.rb
index 6adc23ecf..e18ab5b2c 100644
--- a/Library/Formula/opencv.rb
+++ b/Library/Formula/opencv.rb
@@ -20,6 +20,12 @@ class Opencv < Formula
option 'with-tbb', 'Enable parallel code in OpenCV using Intel TBB'
option 'with-opencl', 'Enable gpu code in OpenCV using OpenCL'
+ # CLT-only couldn't install this out-of-the-box.
+ # From the build error:
+ # set CMAKE_OSX_SYSROOT to a valid SDK or
+ # set CMAKE_OSX_DEPLOYMENT_TARGET to empty
+ depends_on :xcode
+
depends_on 'cmake' => :build
depends_on 'pkg-config' => :build
depends_on 'numpy' => :python