]> granicus.if.org Git - graphviz/commitdiff
common: add linking to label
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Wed, 25 Aug 2021 18:05:50 +0000 (20:05 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Mon, 30 Aug 2021 05:41:28 +0000 (07:41 +0200)
E.g. lib/common/postproc.c uses placeLabels from lib/label/xlabels.c.

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

lib/common/CMakeLists.txt

index 93d3083498dc3c24effe6611452d467616f66532..9761866ed298c8d02fb49e1c287ce4d7a01f70ba 100644 (file)
@@ -117,6 +117,7 @@ add_library(common STATIC
 target_link_libraries(common PRIVATE
     cgraph
     pathplan
+    label
     xdot
 )