From: Magnus Jacobsson Date: Wed, 25 Aug 2021 18:15:41 +0000 (+0200) Subject: common: add linking to xdot X-Git-Tag: 2.49.1~54^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=87d551c2344cbffce8a22a6f9cdf91d08108b251;p=graphviz common: add linking to xdot 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. --- diff --git a/lib/common/CMakeLists.txt b/lib/common/CMakeLists.txt index 0d5d3aa3c..93d308349 100644 --- a/lib/common/CMakeLists.txt +++ b/lib/common/CMakeLists.txt @@ -117,6 +117,7 @@ add_library(common STATIC target_link_libraries(common PRIVATE cgraph pathplan + xdot ) if(EXPAT_FOUND)