From 3be20b085f08968a29307c861322cf2de3d966cf Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sat, 28 Aug 2021 19:39:29 +0200 Subject: [PATCH] patchwork: add linking to cgraph E.g. patchwork.c uses agfstnode from lib/cgraph/node.c. This removes the need to link to cgraph for downstream libraries that do not explicitly use cgraph. --- lib/patchwork/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/patchwork/CMakeLists.txt b/lib/patchwork/CMakeLists.txt index 0ef621f0e..0ee7d954e 100644 --- a/lib/patchwork/CMakeLists.txt +++ b/lib/patchwork/CMakeLists.txt @@ -18,3 +18,7 @@ target_include_directories(patchwork PRIVATE ${GRAPHVIZ_LIB_DIR}/pack ${GRAPHVIZ_LIB_DIR}/pathplan ) + +target_link_libraries(patchwork PRIVATE + cgraph +) -- 2.40.0