Skip to content
Snippets Groups Projects
Commit 5ab137b7 authored by Brad King's avatar Brad King
Browse files

FindGTK2: Add harfbuzz target for dependency from pango

Since commit effafca7 (FindGTK2: Add harfbuzz to GTK2_INCLUDE_DIRS,
2019-10-01, v3.16.0-rc1~22^2), pango's dependency on harfbuzz has been
captured, but only for the `GTK2_INCLUDE_DIRS` and `GTK2_LIBRARIES`
variables.  Add the `GTK2::harfbuzz` imported target and update the
`GTK2::pango` target to depend on it.

Issue: #19531
parent 4c82f309
No related branches found
No related tags found
No related merge requests found
......@@ -708,11 +708,14 @@ foreach(_GTK2_component ${GTK2_FIND_COMPONENTS})
_GTK2_FIND_LIBRARY (CAIRO cairo false false)
_GTK2_ADD_TARGET (CAIRO)
_GTK2_FIND_INCLUDE_DIR(HARFBUZZ hb.h)
_GTK2_FIND_LIBRARY (HARFBUZZ harfbuzz false false)
_GTK2_ADD_TARGET (HARFBUZZ)
_GTK2_FIND_INCLUDE_DIR(PANGO pango/pango.h)
_GTK2_FIND_LIBRARY (PANGO pango false true)
_GTK2_ADD_TARGET (PANGO GTK2_DEPENDS gobject glib)
_GTK2_FIND_INCLUDE_DIR(HARFBUZZ hb.h)
_GTK2_ADD_TARGET (PANGO GTK2_DEPENDS gobject glib
GTK2_OPTIONAL_DEPENDS harfbuzz)
_GTK2_FIND_LIBRARY (PANGOCAIRO pangocairo false true)
_GTK2_ADD_TARGET (PANGOCAIRO GTK2_DEPENDS pango cairo gobject glib)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment