Fix the GTK+ build after r183584
authormrobinson@webkit.org <mrobinson@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 30 Apr 2015 01:42:54 +0000 (01:42 +0000)
committermrobinson@webkit.org <mrobinson@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 30 Apr 2015 01:42:54 +0000 (01:42 +0000)
* Source/cmake/OptionsGTK.cmake: Properly use the USE_LIBHYPHEN and HYPHEN_FOUND variables.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@183602 268f45cc-cd09-0410-ab3c-d52691b4dbfc

ChangeLog
Source/cmake/OptionsGTK.cmake

index 21af4ac..f5de990 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2015-04-29  Martin Robinson  <mrobinson@igalia.com>
 
+        Fix the GTK+ build after r183584
+
+        * Source/cmake/OptionsGTK.cmake: Properly use the USE_LIBHYPHEN and HYPHEN_FOUND variables.
+
+2015-04-29  Martin Robinson  <mrobinson@igalia.com>
+
         [GTK] Add support for automatic hyphenation
         https://bugs.webkit.org/show_bug.cgi?id=44478
 
index c93e696..6626ac7 100644 (file)
@@ -379,9 +379,9 @@ if (USE_LIBNOTIFY)
     SET_AND_EXPOSE_TO_BUILD(WTF_USE_LIBNOTIFY TRUE)
 endif ()
 
-if (HYPHEN_FOUND)
+if (USE_LIBHYPHEN)
     find_package(Hyphen)
-    if (NOT LIBHYPHEN_FOUND)
+    if (NOT HYPHEN_FOUND)
        message(FATAL_ERROR "libhyphen is needed for USE_LIBHYPHEN.")
     endif ()
     SET_AND_EXPOSE_TO_BUILD(WTF_USE_LIBHYPHEN 1)