summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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}
)