[GTK] Auto-detection of cairo-gl fails
authorgns@gnome.org <gns@gnome.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 20 Aug 2015 13:55:06 +0000 (13:55 +0000)
committergns@gnome.org <gns@gnome.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 20 Aug 2015 13:55:06 +0000 (13:55 +0000)
commit6c390f9a5a19be965032528acc0103b4ae365f0a
tree51902b6c512e6429ad8f1474a77a23aa96842c7c
parent8695547b7998ff8dc4235396657a5af2118913fe
[GTK] Auto-detection of cairo-gl fails
https://bugs.webkit.org/show_bug.cgi?id=148189

Patch by Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> on 2015-08-20
Reviewed by Žan Doberšek.

* Source/cmake/FindCairoGL.cmake: only check for components if the main package has
been found. Otherwise, if either GLX or EGL are available, cairo-gl will also be
deemed available, which might not be the case.
* Source/cmake/OptionsGTK.cmake: fix the usage of the CAIROGL_FOUND variable.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@188685 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ChangeLog
Source/cmake/FindCairoGL.cmake
Source/cmake/OptionsGTK.cmake