[cmake] Cleanup FindHarfBuzz.cmake
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 3 Aug 2012 10:02:37 +0000 (10:02 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 3 Aug 2012 10:02:37 +0000 (10:02 +0000)
https://bugs.webkit.org/show_bug.cgi?id=92984

Patch by Dominik Röttsches <dominik.rottsches@intel.com> on 2012-08-03
Reviewed by Hajime Morita.

Cleanup which didn't make it into my previous ptch.

* Source/cmake/FindHarfBuzz.cmake: Remove duplicate line, add a bit of documentation.

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

ChangeLog
Source/cmake/FindHarfBuzz.cmake

index 01fd886..f1a7e2b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2012-08-03  Dominik Röttsches  <dominik.rottsches@intel.com>
+
+        [cmake] Cleanup FindHarfBuzz.cmake
+        https://bugs.webkit.org/show_bug.cgi?id=92984
+
+        Reviewed by Hajime Morita.
+
+        Cleanup which didn't make it into my previous ptch.
+
+        * Source/cmake/FindHarfBuzz.cmake: Remove duplicate line, add a bit of documentation.
+
 2012-08-03  Joone Hur  <joone.hur@intel.com>
 
         [EFL][DRT] WebKitAnimation API compile-time disabled
index 8a99019..a348879 100644 (file)
 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 # POSSIBILITY OF SUCH DAMAGE.
 #
+# Try to find Harfbuzz include and library directories.
 #
+# After successful discovery, this will set for inclusion where needed:
+# HARFBUZZ_INCLUDE_DIRS - containg the HarfBuzz headers
+# HARFBUZZ_LIBRARIES - containg the HarfBuzz library
 
 INCLUDE(FindPkgConfig)
 
-PKG_CHECK_MODULES (harfbuzz REQUIRED harfbuzz>=0.9.0)
-
 PKG_CHECK_MODULES(PC_HARFBUZZ harfbuzz>=0.9.0)
 
 FIND_PATH(HARFBUZZ_INCLUDE_DIRS NAMES hb.h