From 81a62229283877eff0c2eb305a3a4e1b100f5b1d Mon Sep 17 00:00:00 2001 From: aneejit1 <aneejit1@gmail.com> Date: Mon, 15 Jun 2020 16:51:50 +0000 Subject: Missing glib link directories This resolves bug 3135 Signed-off-by: aneejit1 <aneejit1@gmail.com> (cherry picked from commit 2c6417b8d699e9928f83472fdbb8e36769654633) --- kglib/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'kglib') 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} ) -- cgit v1.2.1