summaryrefslogtreecommitdiffstats
path: root/kglib
diff options
context:
space:
mode:
authoraneejit1 <aneejit1@gmail.com>2020-06-15 16:51:50 +0000
committerSlávek Banko <slavek.banko@axis.cz>2020-06-17 17:24:34 +0200
commit81a62229283877eff0c2eb305a3a4e1b100f5b1d (patch)
tree123d3b2ea9ac4a5cb5ab7506d40a30cfdf42168d /kglib
parent0eba7ab884b714caf77330d6e799b593b355be30 (diff)
downloadtdelibs-81a62229283877eff0c2eb305a3a4e1b100f5b1d.tar.gz
tdelibs-81a62229283877eff0c2eb305a3a4e1b100f5b1d.zip
Missing glib link directories
This resolves bug 3135 Signed-off-by: aneejit1 <aneejit1@gmail.com> (cherry picked from commit 2c6417b8d699e9928f83472fdbb8e36769654633)
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}
)