diff options
author | Markus Mittendrein <git@maxmitti.tk> | 2019-10-01 21:06:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-12-09 17:04:33 (GMT) |
commit | e4b1b79abb2b6e1ad07d36d4734554972c9ce4a9 (patch) | |
tree | 4e08edaea8cd7524d371048824f7f1665bc3359c | |
parent | 79bcf4e1655ffa38e8f4740b19ec3a14ac567eec (diff) | |
download | CMake-e4b1b79abb2b6e1ad07d36d4734554972c9ce4a9.zip CMake-e4b1b79abb2b6e1ad07d36d4734554972c9ce4a9.tar.gz CMake-e4b1b79abb2b6e1ad07d36d4734554972c9ce4a9.tar.bz2 |
FindGTK2: Add harfbuzz to GTK2_INCLUDE_DIRS
Fixes: #19531
-rw-r--r-- | Modules/FindGTK2.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/FindGTK2.cmake b/Modules/FindGTK2.cmake index e3af676..83091f3 100644 --- a/Modules/FindGTK2.cmake +++ b/Modules/FindGTK2.cmake @@ -259,6 +259,7 @@ function(_GTK2_FIND_INCLUDE_DIR _var _hdr) gtkmm-2.4 libglade-2.0 libglademm-2.4 + harfbuzz pango-1.0 pangomm-1.4 sigc++-2.0 @@ -711,6 +712,8 @@ foreach(_GTK2_component ${GTK2_FIND_COMPONENTS}) _GTK2_FIND_LIBRARY (PANGO pango false true) _GTK2_ADD_TARGET (PANGO GTK2_DEPENDS gobject glib) + _GTK2_FIND_INCLUDE_DIR(HARFBUZZ hb.h) + _GTK2_FIND_LIBRARY (PANGOCAIRO pangocairo false true) _GTK2_ADD_TARGET (PANGOCAIRO GTK2_DEPENDS pango cairo gobject glib) |