[GTK] Accelerated 2D Canvas enabled when cairo-gl is not available
authormario@webkit.org <mario@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Aug 2015 12:58:10 +0000 (12:58 +0000)
committermario@webkit.org <mario@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Aug 2015 12:58:10 +0000 (12:58 +0000)
commit5ea0b368e82053b3ca2a44dcf86c72747011655c
treef374156bfb309c735bfb0baf62b41e62ec85d4d3
parent488a77c7de375dd3b9e2b1fef178188a0c50315f
[GTK] Accelerated 2D Canvas enabled when cairo-gl is not available
https://bugs.webkit.org/show_bug.cgi?id=147625

Reviewed by Martin Robinson.

Do not set the CAIRO_<COMPONENT>_* CMake variables for cairo-gl
components unless they were actually found, not to accidentally
enable Accelerated 2D canvas, which would cause the build to fail.

* Source/cmake/FindCairoGL.cmake: Set this variables only when
pkg_check_modules() had actually found the relevant component.

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