Correct error with GTK3 not found selection
authorTony <exocoder@gmail.com>
Wed, 9 Apr 2014 21:07:59 +0000 (22:07 +0100)
committerTony <exocoder@gmail.com>
Sun, 13 Apr 2014 10:08:31 +0000 (11:08 +0100)
commitc0dbc083ea0d13999de1d3d98d5ab33e0dc4a11d
treee1011c23c3785ee3446c14532f28aad6a9925f0b
parent65f63421fab1700f531f6c932fe222878c426900
Correct error with GTK3 not found selection

When GTK3 is not found, HAVE_GTK was being set to TRUE. This edit
ensures that HAVE_GTK is only set if GTK3 or GTK2 (meeting minimum
version requirements) is present.
Selection logic for printing 'GTK: No' when the libraries are not found
has also been removed so the message is printed when GTK is not found or
selected in common with other libraries.

Changes committed:
modified:   CMakeLists.txt
modified:   cmake/OpenCVFindLibsGUI.cmake
CMakeLists.txt
cmake/OpenCVFindLibsGUI.cmake