diff options
| author | saskathex | 2012-12-08 07:53:57 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2012-12-17 16:03:52 -0800 |
| commit | d0bb88a4ce974ce68d7a123116ec4e8ad230b52b (patch) | |
| tree | 8695fc79b8cf3fcf837db20a9252637a9d707477 /Library/Formula/opencv.rb | |
| parent | b54a6fed8e4b9e309adbb822b1ead5f198833e1a (diff) | |
| download | homebrew-d0bb88a4ce974ce68d7a123116ec4e8ad230b52b.tar.bz2 | |
opencv: enable experimental opencl gpu module via option
Closes #16474.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/opencv.rb')
| -rw-r--r-- | Library/Formula/opencv.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/opencv.rb b/Library/Formula/opencv.rb index 1a9bb3813..e82bbf76e 100644 --- a/Library/Formula/opencv.rb +++ b/Library/Formula/opencv.rb @@ -16,6 +16,7 @@ class Opencv < Formula option '32-bit' option 'with-qt', 'Build the Qt4 backend to HighGUI' option 'with-tbb', 'Enable parallel code in OpenCV using Intel TBB' + option 'with-opencl', 'Enable gpu code in OpenCV using OpenCL' depends_on 'cmake' => :build depends_on 'pkg-config' => :build @@ -50,6 +51,7 @@ class Opencv < Formula end args << '-DWITH_QT=ON' if build.include? 'with-qt' args << '-DWITH_TBB=ON' if build.include? 'with-tbb' + args << '-DWITH_OPENCL=ON' if build.include? 'with-opencl' # The CMake `FindPythonLibs` Module is dumber than a bag of hammers when # more than one python installation is available---for example, it clings |
