From: Magnus Jacobsson Date: Wed, 25 Aug 2021 03:59:12 +0000 (+0200) Subject: common: CMake: add linking to pathplan X-Git-Tag: 2.49.1~58^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=39dc9f0b32c71bab0e10038fbc6f6c69fff5814b;p=graphviz common: CMake: add linking to pathplan E.g. lib/common/emit.c uses freePath from lib/pathplan/util.c. This removes the need to link to pathplan for downstream libraries that do not explicitly use pathplan. --- diff --git a/lib/common/CMakeLists.txt b/lib/common/CMakeLists.txt index 3cde1e318..246e9aa82 100644 --- a/lib/common/CMakeLists.txt +++ b/lib/common/CMakeLists.txt @@ -114,6 +114,10 @@ add_library(common STATIC $ ) +target_link_libraries(common PRIVATE + pathplan +) + # Specify headers to be installed install( FILES