summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraneejit1 <aneejit1@gmail.com>2022-11-02 15:56:47 +0000
committeraneejit1 <aneejit1@gmail.com>2022-11-02 15:56:47 +0000
commit3567c9ed9c0d14d163ed8b5fd5a530f8537f7be0 (patch)
tree68164a16d4aa1fe7f894e1dfe4de206b9bf401bd
parentb7e7bb99e1c85325ff55866434f797dfb5c91187 (diff)
downloadkgtk-qt3-3567c9ed.tar.gz
kgtk-qt3-3567c9ed.zip
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 <aneejit1@gmail.com>
-rw-r--r--gtk2/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
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)