aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-12-06 10:17:08 +0100
committerRobert Tari <robert@tari.in>2021-12-09 12:50:31 +0100
commit078be8ba2186cf095a2f4c162665a4a265cab3d6 (patch)
treedc3fc73cf009f94791158320baee6251c7e64038 /tests
parenta1d1bd53d739bc1b559df880c48da186ccd44800 (diff)
downloadlibayatana-common-078be8ba2186cf095a2f4c162665a4a265cab3d6.tar.gz
libayatana-common-078be8ba2186cf095a2f4c162665a4a265cab3d6.tar.bz2
libayatana-common-078be8ba2186cf095a2f4c162665a4a265cab3d6.zip
Add ENABLE_LOMIRI_FEATURES switch
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 44ceb0e..7758e59 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -25,8 +25,7 @@ target_include_directories(tst_utils PUBLIC "${CMAKE_SOURCE_DIR}/src")
target_link_libraries(tst_utils
ayatana-common
- ${GLIB_LIBRARIES}
- ${URL_DISPATCHER_LIBRARIES}
+ ${DEPS_LIBRARIES}
${GTEST_LIBRARIES}
${GTEST_BOTH_LIBRARIES}
${GMOCK_LIBRARIES}
@@ -59,8 +58,8 @@ add_custom_command(
if (VALA_COMPILER)
add_executable("tst_utils_vala" "${CMAKE_CURRENT_BINARY_DIR}/tst_utils.c")
- target_include_directories("tst_utils_vala" PUBLIC "${GLIB_INCLUDE_DIRS};${CMAKE_BINARY_DIR}/src")
- target_link_libraries("tst_utils_vala" "${GLIB_LIBRARIES} -layatana-common -L${CMAKE_BINARY_DIR}/src")
+ target_include_directories("tst_utils_vala" PUBLIC "${DEPS_INCLUDE_DIRS};${CMAKE_BINARY_DIR}/src")
+ target_link_libraries("tst_utils_vala" "${DEPS_LIBRARIES} -layatana-common -L${CMAKE_BINARY_DIR}/src")
target_link_directories("tst_utils_vala" PUBLIC "${CMAKE_BINARY_DIR}/src")
add_dependencies("tst_utils_vala" "src")