| Summary: | [GTK]FindHarfBuzz.cmake dose not handle harfbuzz-icu correctly | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | 宋文武 <iyzsong> | ||||
| Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | alex_y_xu, berto, bugs-noreply, cgarcia, mcatanzaro, zan | ||||
| Priority: | P3 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Attachments: |
|
||||||
|
Description
宋文武
2014-10-15 06:12:01 PDT
Created attachment 239870 [details]
cmake: finding harfbuzz-icu
Why don't you (In reply to comment #0) > Suppose I have harfbuzz and harfbuzz-icu install to two different > directories, > then paths to hb.h and hb-icu.h should both included in > HARFBUZZ_INCLUDE_DIRS. I'm not a cmake expert, but why don't you look for hb.h in the new patch then? In the HarfBuff >= 0.9.18 branch of the if I only see hb-icu.h. (In reply to comment #2) > Why don't you (In reply to comment #0) > > Suppose I have harfbuzz and harfbuzz-icu install to two different > > directories, > > > then paths to hb.h and hb-icu.h should both included in > > HARFBUZZ_INCLUDE_DIRS. > > I'm not a cmake expert, but why don't you look for hb.h in the new patch > then? Obvious, I'm not a cmake expert too :) Ah yes, It's good to add a find_path for hb.h too. Even pkg_check_modules(PC_HARFBUZZ harfbuzz>=0.9.7) should given a corret PC_HARFBUZZ_INCLUDE_DIRS (having hb.h). > In the HarfBuff >= 0.9.18 branch of the if I only see hb-icu.h. |