From 8fe11221b23816176f205fdceb0c5ba5de2904de Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Mon, 26 Mar 2018 15:42:29 +0200 Subject: tests/CMakeLists.txt: Fix linking when built with URL dispatcher support. --- src/timezone-geoclue.cpp | 1 - tests/CMakeLists.txt | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/timezone-geoclue.cpp b/src/timezone-geoclue.cpp index 50ebbcd..541d086 100644 --- a/src/timezone-geoclue.cpp +++ b/src/timezone-geoclue.cpp @@ -288,4 +288,3 @@ GeoclueTimezone::~GeoclueTimezone() } // namespace datetime } // namespace indicator } // namespace ayatana - diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 717784e..1901f9f 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -44,7 +44,7 @@ function(add_test_by_name name) set (TEST_NAME ${name}) add_executable (${TEST_NAME} ${TEST_NAME}.cpp gschemas.compiled) add_test (${TEST_NAME} ${TEST_NAME}) - target_link_libraries (${TEST_NAME} indicatordatetimeservice gtest ${DBUSTEST_LIBRARIES} ${SERVICE_DEPS_LIBRARIES} ${GTEST_LIBS}) + target_link_libraries (${TEST_NAME} indicatordatetimeservice gtest ${DBUSTEST_LIBRARIES} ${SERVICE_DEPS_LIBRARIES} ${GTEST_LIBS} ${URLDISPATCHER_LIBRARIES}) endfunction() add_test_by_name(test-datetime) if(HAVE_UT_ACCTSERVICE_SYSTEMSOUND_SETTINGS) -- cgit v1.2.3