summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-12-09 13:23:38 -0500
committerBrad King <brad.king@kitware.com>2019-12-09 13:23:38 -0500
commit3d1a939af18140957c39f0192cf197b5bb5ab480 (patch)
treea097e2f8b7ceb70d3a4d490491081f602b85a05f
parent4e4327ee3cbcbb083a0a5aa44b8d932728d30d3f (diff)
parente4b1b79abb2b6e1ad07d36d4734554972c9ce4a9 (diff)
downloadcmake-3d1a939af18140957c39f0192cf197b5bb5ab480.tar.gz
Merge branch 'backport-3.15-FindGTK2-harfbuzz' into release-3.15
Merge-request: !3877
-rw-r--r--Modules/FindGTK2.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/FindGTK2.cmake b/Modules/FindGTK2.cmake
index e3af6766f5..83091f3d83 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)