telepathy-qt: CMake: Fix TPGLIB_LIBRARIES in glib tests
Alexandr Akulich
kaffeine at kemper.freedesktop.org
Mon Nov 11 17:28:14 UTC 2019
Module: telepathy-qt
Branch: master
Commit: c709c19887ec8af3fcbe63e4a18f6cc713d01565
URL: http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=c709c19887ec8af3fcbe63e4a18f6cc713d01565
Author: Alexander Akulich <akulichalexander at gmail.com>
Date: Thu Nov 7 02:24:04 2019 +0300
CMake: Fix TPGLIB_LIBRARIES in glib tests
---
tests/lib/glib/CMakeLists.txt | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/tests/lib/glib/CMakeLists.txt b/tests/lib/glib/CMakeLists.txt
index 4461f022..73ff4000 100644
--- a/tests/lib/glib/CMakeLists.txt
+++ b/tests/lib/glib/CMakeLists.txt
@@ -9,6 +9,15 @@ include_directories(
${DBUS_ARCH_INCLUDE_DIR})
if(ENABLE_TP_GLIB_TESTS)
+ set(TPGLIB_LIBRARIES
+ ${TELEPATHY_GLIB_LIBRARIES}
+ ${GLIB2_LIBRARIES}
+ ${GOBJECT_LIBRARIES}
+ ${GIO_LIBRARIES}
+ ${DBUS_GLIB_LIBRARIES}
+ ${DBUS_LIBRARIES}
+ )
+
add_subdirectory(call)
add_subdirectory(callable)
add_subdirectory(contactlist)
@@ -59,12 +68,7 @@ if(ENABLE_TP_GLIB_TESTS)
add_library(tp-glib-tests SHARED ${tp_glib_tests_SRCS})
target_link_libraries(tp-glib-tests
- ${TELEPATHY_GLIB_LIBRARIES}
- ${GLIB2_LIBRARIES}
- ${GOBJECT_LIBRARIES}
- ${GIO_LIBRARIES}
- ${DBUS_GLIB_LIBRARIES}
- ${DBUS_LIBRARIES}
+ ${TPGLIB_LIBRARIES}
example-cm-call
example-cm-callable
example-cm-contactlist
More information about the telepathy-commits
mailing list