From ca811409f7e29c42cac290aa0415ce2c564721c2 Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sat, 28 Aug 2021 19:32:22 +0200 Subject: [PATCH] twopigen: add linking to cgraph E.g. twopiinit.c uses agnode from lib/cgraph/node.c. This removes the need to link to cgraph for downstream libraries that do not explicitly use cgraph. --- lib/twopigen/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/twopigen/CMakeLists.txt b/lib/twopigen/CMakeLists.txt index 9b80265a5..115534a77 100644 --- a/lib/twopigen/CMakeLists.txt +++ b/lib/twopigen/CMakeLists.txt @@ -16,3 +16,7 @@ target_include_directories(twopigen PRIVATE ${GRAPHVIZ_LIB_DIR}/pack ${GRAPHVIZ_LIB_DIR}/pathplan ) + +target_link_libraries(twopigen PRIVATE + cgraph +) -- 2.40.0