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

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

lib/common/CMakeLists.txt

index 0d5d3aa3c5f14a8ddac5ddef11e20408596a8d13..93d3083498dc3c24effe6611452d467616f66532 100644 (file)
@@ -117,6 +117,7 @@ add_library(common STATIC
 target_link_libraries(common PRIVATE
     cgraph
     pathplan
+    xdot
 )
 
 if(EXPAT_FOUND)