From 55104baf31ef53e5e78c861e359aaa2b0c2aeec7 Mon Sep 17 00:00:00 2001 From: Mark Hansen Date: Sat, 8 Oct 2022 17:42:23 +1100 Subject: [PATCH] Use _LINK_LIBRARIES to build gdk plugin This makes them work on my macOS machine that's installed GTK with homebrew. Otherwise I get errors like: ``` ld: library not found for -lgdk-quartz-2.0 ``` Towards #2290 --- plugin/gdk/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/gdk/CMakeLists.txt b/plugin/gdk/CMakeLists.txt index 9b4695076..6d8c0f562 100644 --- a/plugin/gdk/CMakeLists.txt +++ b/plugin/gdk/CMakeLists.txt @@ -29,9 +29,9 @@ if(GDK_FOUND AND GDK_PIXBUF_FOUND AND PANGOCAIRO_FOUND) ) target_link_libraries(gvplugin_gdk - ${GDK_LIBRARIES} - ${GDK_PIXBUF_LIBRARIES} - ${PANGOCAIRO_LIBRARIES} + ${GDK_LINK_LIBRARIES} + ${GDK_PIXBUF_LINK_LIBRARIES} + ${PANGOCAIRO_LINK_LIBRARIES} ) install( -- 2.50.1