summaryrefslogtreecommitdiffstats
path: root/kglib
diff options
context:
space:
mode:
authoraneejit1 <aneejit1@gmail.com>2020-06-15 16:51:50 +0000
committerTDE Gitea <gitea@mirror.git.trinitydesktop.org>2020-06-17 15:23:59 +0000
commit2c6417b8d699e9928f83472fdbb8e36769654633 (patch)
tree4ccea2feb2ca7a58234a50fe5b2db16a5f1db26a /kglib
parent86df09d798b216ec21dafa3c90aeb348df47b23e (diff)
downloadtdelibs-2c6417b8d699e9928f83472fdbb8e36769654633.tar.gz
tdelibs-2c6417b8d699e9928f83472fdbb8e36769654633.zip
Missing glib link directories
This resolves bug 3135 Signed-off-by: aneejit1 <aneejit1@gmail.com>
Diffstat (limited to 'kglib')
-rw-r--r--kglib/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/kglib/CMakeLists.txt b/kglib/CMakeLists.txt
index 293a09e75..0d229cabe 100644
--- a/kglib/CMakeLists.txt
+++ b/kglib/CMakeLists.txt
@@ -16,6 +16,8 @@ include_directories(
link_directories(
${TQT_LIBRARY_DIRS}
+ ${GLIB2_LIBRARY_DIRS}
+ ${GOBJECT2_LIBRARY_DIRS}
)
@@ -32,6 +34,7 @@ install( FILES
tde_add_library( kglib SHARED
SOURCES TGlibEventLoop.cpp
VERSION 0.0.0
- LINK ${TQT_LIBRARIES} ${GLIB2_LIBRARIES} ${GOBJECT2_LIBRARIES}
+ LINK ${TQT_LIBRARIES}
+ LINK_PRIVATE ${GLIB2_LIBRARIES} ${GOBJECT2_LIBRARIES}
DESTINATION ${LIB_INSTALL_DIR}
)