mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-28 03:49:49 -05:00
opencv has a 32bit option meant to work with HB libraries like libtiff, jpeg, and jasper when those are universal. Add CMake flags to stop opencv from trying to build all those from source. Instead let if find the HB libraries. Add CMake flags to stop it building tests. Add a dep on Eigen, which is used to speed up code. OpenCV has it enabled by default. Add a CMake flag to specify that CUDA is OFF. Duplicate the 32bit extra_CFLAGS to extra_CXXFLAGS also. When building 32bit specify `-DCMAKE_OSX_ARCHITECTURES=i386` per the install docs. Switch to an OOS build. Put the source dir last. Use the new `option` DSL. Adjust python includes to support XCode-only installs. Use their new homepage `opencv.org` Tested with clang and llvm from XCode-4.4.1 against HB python and system python on Mt. Lion, all options. Fixes #14237 #13603 Closes #14305. Signed-off-by: Adam Vandenberg <flangy@gmail.com>