From 924ab28f2263efb8aaf28a443677f8ddb212b70e Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sat, 28 Aug 2021 19:22:00 +0200 Subject: [PATCH] neatogen: add linking to cgraph E.g. constraint.c uses agopen from lib/cgraph/graph.c. This removes the need to link to cgraph for downstream libraries that do not explicitly use cgraph. --- lib/neatogen/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/neatogen/CMakeLists.txt b/lib/neatogen/CMakeLists.txt index 412b71d10..722d413b1 100644 --- a/lib/neatogen/CMakeLists.txt +++ b/lib/neatogen/CMakeLists.txt @@ -100,3 +100,7 @@ target_include_directories(neatogen PRIVATE ${GRAPHVIZ_LIB_DIR}/pack ${GRAPHVIZ_LIB_DIR}/pathplan ) + +target_link_libraries(neatogen PRIVATE + cgraph +) -- 2.40.0