aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorKeith2013-03-20 09:04:50 -0400
committerAdam Vandenberg2013-03-20 08:55:06 -0700
commit97cc369a52f28e1d39a43931feb138a2d1dabaf2 (patch)
tree22e59284b0e24703aae3132e628af777e506a9fb /Library
parenta7e0ad42ea0d6426a7f236a0dc6ba41c42ad9978 (diff)
downloadhomebrew-97cc369a52f28e1d39a43931feb138a2d1dabaf2.tar.bz2
opencv: fix clt-only builds
Closes #18610. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/opencv.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/Library/Formula/opencv.rb b/Library/Formula/opencv.rb
index 5eb17a230..ace807063 100644
--- a/Library/Formula/opencv.rb
+++ b/Library/Formula/opencv.rb
@@ -20,12 +20,6 @@ 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
@@ -43,6 +37,7 @@ class Opencv < Formula
def install
args = std_cmake_args + %w[
+ -DCMAKE_OSX_DEPLOYMENT_TARGET=
-DWITH_CUDA=OFF
-DBUILD_ZLIB=OFF
-DBUILD_TIFF=OFF