changed foreach variable to match naming conventions and dropped intermediate variable, appending directly to the LIB_COMPONENTS list
cmake: restore find_package() for build directory
Merge pull request #1375 from jet47:gpu-examples-build
Merge pull request #1631 from alalek:merge-2.4
cmake: add opencv_java into list of exported targets (fix for android)
cmake: fix linker deps for CUDA
Fix running Java tests with run.py on everything other than Windows.

Previously, run.py would assume that the opencv_java library is in the
same directory as the tests, which is only true on Windows.

The library path depends on the build configuration, which may not be
known until the actual build (e.g. with the Visual Studio generators),
so it can't be stored in the CMake cache for run.py to read. I didn't
want to hardcode into run.py where the library is on each platform,
either. So that's why I used the current scheme with the properties
file. It also makes running the tests without run.py a little easier.
ocl: rewrite CvtColor tests, added roi support
Merge pull request #1634 from alalek:cmake_fix_cuda_linker_deps
Merge pull request #1635 from alalek:cmake_fix_export_java
Merge pull request #1632 from alalek:cmake_find_package_build_dir
Merge pull request #1613 from alalek:ocl_cvtcolor
refactored filters in the ocl module; added an accuracy tests for ocl::medianFilter
Merge pull request #1637 from SpecLad:run-py-java-fix
Updated build of ffmpeg library (v 2.0.2). Builded with mingw (gcc 4.6.1) with
folowing additional options: --enable-w32threads, --arch=i686 (for 32-bit
library, workaround for http://trac.ffmpeg.org/ticket/2363)
made LOOP_TIMES as a command line option with default value=1
Merge pull request #1516 from akarsakov:new_ffmpeg_build
Merge pull request #1369 from StevenPuttemans:fix_featuretracker
Merge pull request #1636 from ilya-lavrenov:ocl_loop_times
Merge tag '2.4.6.2' into 2.4

OpenCV 2.4.6.2 (Tegra detection and native camera update)