diff options
author | Alexander Akulich <akulichalexander@gmail.com> | 2019-11-07 02:24:04 +0300 |
---|---|---|
committer | Alexander Akulich <akulichalexander@gmail.com> | 2019-11-08 02:03:54 +0300 |
commit | c709c19887ec8af3fcbe63e4a18f6cc713d01565 (patch) | |
tree | 970541561b19074f7f95a8064689ae179fed6394 | |
parent | 49bc2ee3bb5cca1c6551cdaf57a033240474e3fa (diff) |
CMake: Fix TPGLIB_LIBRARIES in glib tests
-rw-r--r-- | tests/lib/glib/CMakeLists.txt | 16 |
1 files 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 |