From 3567c9ed9c0d14d163ed8b5fd5a530f8537f7be0 Mon Sep 17 00:00:00 2001 From: aneejit1 Date: Wed, 2 Nov 2022 15:56:47 +0000 Subject: [PATCH] Add gtk2 link directories When gtk2 is not installed in /usr, a link failure may occur due to missing specifications of the link directories. An new "link_directories" statement has been added with the required directory variable. Signed-off-by: aneejit1 --- gtk2/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtk2/CMakeLists.txt b/gtk2/CMakeLists.txt index 9210e8c..f043953 100644 --- a/gtk2/CMakeLists.txt +++ b/gtk2/CMakeLists.txt @@ -7,6 +7,9 @@ include_directories( ${GTK_INCLUDE_DIRS} ) +link_directories( + ${GTK_LIBRARY_DIRS} +) ##### kgtk2 (shared)