opencv/cmake
Misty De Meo e143706ef9 Fix ant/Java detection in cmake scripts
Mac OS X 10.7 and newer don't come with Java installed. They do
include some stub binaries, which ask the user if they want to
install Java when run.

OpenCV's cmake script just checks for the existence of an ant
binary and assumes that Java's available if ant is. As a result,
cmake will configure the build to use Java and it will fail once
it tries to compile the Java bindings.

This fixes the issue by checking for the exit status of
`ant -version` - it exits 0 if Java is installed, or 1
otherwise.(cherry picked from commit a423afddc1)
2013-03-29 18:29:40 +04:00
..
templates Avoid build falure in armeabi build with Android SDK 2013-03-01 16:50:42 +04:00
cl2cpp.cmake discard comments in kernels.cpp 2013-03-26 12:01:01 +08:00
CMakeParseArguments.cmake minor fix in FindTBB 2012-08-23 13:37:27 +04:00
OpenCVCompilerOptions.cmake Fix build warnings on MSVC x64 and OS X clang 2013-03-01 13:29:43 +04:00
OpenCVConfig.cmake Advance version number to 2.4.3-rc 2012-10-23 17:59:59 +04:00
OpenCVCRTLinkage.cmake Disabled BUILD_WITH_DEBUG_INFO flag for MSCV. Now debug info is included in debug configuration 2012-03-02 14:48:35 +00:00
OpenCVDetectAndroidSDK.cmake Base for Native Activity example added. 2013-03-18 10:37:11 +04:00
OpenCVDetectApacheAnt.cmake Fix ant/Java detection in cmake scripts 2013-03-29 18:29:40 +04:00
OpenCVDetectCStripes.cmake fixed C= detection script 2012-10-10 16:15:27 +04:00
OpenCVDetectCUDA.cmake add CUDA_GENERATION macro 2013-02-26 20:13:47 +04:00
OpenCVDetectCudaArch.cu add CUDA_GENERATION macro 2013-02-26 20:13:47 +04:00
OpenCVDetectCXXCompiler.cmake Fix build warnings on MSVC x64 and OS X clang 2013-03-01 13:29:43 +04:00
OpenCVDetectOpenCL.cmake fix amdFft and amdBlas path 2013-03-26 11:48:14 +08:00
OpenCVDetectPython.cmake Honor 2-digit python version 2013-02-28 16:32:13 +04:00
OpenCVDetectTBB.cmake TBB download and build option enabled for non Android platfroms. 2013-02-06 14:43:57 +04:00
OpenCVExtraTargets.cmake Drop outdated targets and fix solution folders 2013-03-25 21:57:53 +04:00
OpenCVFindIPP.cmake fixed detection of IPP 7.1 (patch #2413: thanks to Gino van den Bergen!) 2012-10-08 22:00:25 +04:00
OpenCVFindLATEX.cmake Started top-level CMakeLists.txt file reorganization: cmake scripts are moved to separate folder; refactored BUILD_*, INSTALL_*, ENABLE_*, USE_*, WITH_* options. 2012-01-03 13:48:12 +00:00
OpenCVFindLibsGrfmt.cmake enabled png and jpeg for iOS 2013-03-25 11:19:29 +04:00
OpenCVFindLibsGUI.cmake Moved 3rd-party libraries detection to separate cmake files 2012-05-25 13:12:02 +00:00
OpenCVFindLibsPerf.cmake Detect and report parallel framework used 2013-02-13 15:09:30 +04:00
OpenCVFindLibsVideo.cmake Don't check for EINTR and replace xioctl with ioctl 2013-01-28 17:58:57 +04:00
OpenCVFindOpenEXR.cmake Normalize line endings and whitespace 2012-10-17 15:32:23 +04:00
OpenCVFindOpenNI.cmake Normalize line endings and whitespace 2012-10-17 15:32:23 +04:00
OpenCVFindPkgConfig.cmake Started top-level CMakeLists.txt file reorganization: cmake scripts are moved to separate folder; refactored BUILD_*, INSTALL_*, ENABLE_*, USE_*, WITH_* options. 2012-01-03 13:48:12 +00:00
OpenCVFindXimea.cmake Normalize line endings and whitespace 2012-10-17 15:32:23 +04:00
OpenCVGenAndroidMK.cmake Bug #2821 Installation of OpenCV modules breaks build on MIPS Android fixed. 2013-02-22 11:57:42 +04:00
OpenCVGenConfig.cmake Fix OpenCVConfig.cmake generated for Android platform (issue #2496) 2013-02-27 15:04:29 +04:00
OpenCVGenHeaders.cmake Fixed linux and android install 2012-06-27 13:52:29 +00:00
OpenCVGenPkgconfig.cmake Fixed linux and android install 2012-06-27 13:52:29 +00:00
OpenCVLegacyOptions.cmake Refactored cmake for 3rdparty libs 2012-02-24 13:53:22 +00:00
OpenCVModule.cmake Drop outdated targets and fix solution folders 2013-03-25 21:57:53 +04:00
OpenCVPCHSupport.cmake Add support for Android NDK r8d 2012-12-21 15:39:23 +04:00
OpenCVUtils.cmake Detect version of clang compiler 2013-02-13 14:11:56 +04:00
OpenCVVersion.cmake Consistently use 4-digit library version 2013-01-18 14:57:55 +04:00