[GTK][CMake] Support building with Enchant 2.x
authoraperez@igalia.com <aperez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Feb 2018 18:46:10 +0000 (18:46 +0000)
committeraperez@igalia.com <aperez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Feb 2018 18:46:10 +0000 (18:46 +0000)
commitabb7d8c77b25838c6b7723b681b4b3fe52b478c5
tree4207618d3ea03444fe839d6042a8c19ab983460b
parent545d8d856173694138c7e98cdbbebb4a9e77fd04
[GTK][CMake] Support building with Enchant 2.x
https://bugs.webkit.org/show_bug.cgi?id=182933

Reviewed by Michael Catanzaro.

* Source/cmake/FindEnchant.cmake: Check for both the "enchant" and "enchant-2"
pkg-config components, picking the first available for which the headers and
library are usable.

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