Improve GTK+ library selection logic.
authorTony <exocoder@gmail.com>
Tue, 1 Apr 2014 22:01:18 +0000 (23:01 +0100)
committerTony <exocoder@gmail.com>
Tue, 1 Apr 2014 22:01:18 +0000 (23:01 +0100)
commit7daec9e9a803c7a318eda415b6cb7773ea700666
treeffa63ff2f40a5e795ea478204c997093616d4905
parent7f671406db37ae03259eddd218079a5afd121bd3
Improve GTK+ library selection logic.

The new logic will select GTK+3 by default if WITH_GTK is selected. If
the GTK+3 libraries are not found, then GTK+2 libraries will be selected
if found.
This can be overridden by using WITH_GTK_2_X to force selection of GTK+2
(if found).
cmake/OpenCVFindLibsGUI.cmake