]> granicus.if.org Git - graphviz/commitdiff
plugin/pango: add linking to cgraph
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sat, 28 Aug 2021 06:09:16 +0000 (08:09 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sun, 29 Aug 2021 20:13:39 +0000 (22:13 +0200)
E.g. plugin/pango/gvgetfontlist_pango.c uses agxbinit from
lib/cgraph/agxbuf.c.

This removes the need to link to cgraph for downstream libraries that
do not explicitly use cgraph.

plugin/pango/CMakeLists.txt

index e2a4a3845e7683389bbff652336c3cb121a8b1b4..c423dd934b6d83809f203728cf4d8ef315028685 100644 (file)
@@ -27,6 +27,7 @@ target_include_directories(gvplugin_pango PRIVATE
 )
 
 target_link_libraries(gvplugin_pango
+    cgraph
     gvc
     ${Cairo_LINK_LIBRARIES}
     ${PangoCairo_LINK_LIBRARIES}