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>
Wed, 9 Apr 2014 21:07:59 +0000 (22:07 +0100)
commit2f9dad5ce894ba0dd0d6faf40e96ac01c6b1c37d
treeeddb7c396d6a592d0b3cd3aafaa0e23b85cb6290
parent8592022bd894d2f0984541ec7752263d804ec9cc
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