Refactored detecting several Apple-related technologies.
authorRoman Donchenko <roman.donchenko@itseez.com>
Wed, 10 Jul 2013 14:20:34 +0000 (18:20 +0400)
committerRoman Donchenko <roman.donchenko@itseez.com>
Wed, 10 Jul 2013 15:45:56 +0000 (19:45 +0400)
commitca8b621b4fec65c768b58c6581f61d65cd40cc30
tree4083823696ff22a4216b5c97bd5ba7cba1b49e23
parent4f9554eead4aab86ac189348d4194129a773e5ca
Refactored detecting several Apple-related technologies.

Now the HAVE_* macros are set using cvconfig.h. Previously most
of them already were there, but were always undefined. One,
HAVE_COCOA, I had to add.

This also makes the CMake code more consistent; now, WITH_* variables
are always checked in cmake/*, while HAVE_* variables are checked in
modules/highgui/CMakeLists.txt.
cmake/OpenCVFindLibsGUI.cmake
cmake/OpenCVFindLibsGrfmt.cmake
cmake/OpenCVFindLibsVideo.cmake
cmake/templates/cvconfig.h.cmake
modules/highgui/CMakeLists.txt