From: Mark Hansen Date: Sat, 8 Oct 2022 03:32:49 +0000 (+1100) Subject: Use full paths to pangocairo libraries, not names X-Git-Tag: 7.0.0~20^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f5868e0d90aebbeced03caaafe29498181ff53a5;p=graphviz Use full paths to pangocairo libraries, not names This lets me build on macOS. Thanks to Matthew for finding this fix for #2286 There are a few other usages of PANGOCAIRO_LIBRARIES within Graphviz, but none that I'm currently compiling on macOS. Maybe those should be moved too, but I've just started with this one. --- diff --git a/plugin/gs/CMakeLists.txt b/plugin/gs/CMakeLists.txt index ea39a8193..76a9dcb63 100644 --- a/plugin/gs/CMakeLists.txt +++ b/plugin/gs/CMakeLists.txt @@ -24,7 +24,7 @@ if(GS_FOUND AND PANGOCAIRO_FOUND) target_link_libraries(gvplugin_gs ${GS_LIBRARIES} - ${PANGOCAIRO_LIBRARIES} + ${PANGOCAIRO_LINK_LIBRARIES} ) install(