From ad271f63f4190866948d95f213d6eb670d73060b Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sat, 28 Aug 2021 09:35:39 +0200 Subject: [PATCH] dotgen: add linking to cgraph E.g. cluster.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/dotgen/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/dotgen/CMakeLists.txt b/lib/dotgen/CMakeLists.txt index 150fe588b..1fdd69e67 100644 --- a/lib/dotgen/CMakeLists.txt +++ b/lib/dotgen/CMakeLists.txt @@ -32,3 +32,7 @@ target_include_directories(dotgen PRIVATE ${GRAPHVIZ_LIB_DIR}/pack ${GRAPHVIZ_LIB_DIR}/pathplan ) + +target_link_libraries(dotgen PRIVATE + cgraph +) -- 2.40.0