From 1fe3c7300509a9a8b3ddc58a9c687c50a6622d75 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Mon, 8 Nov 2021 00:41:22 +0100 Subject: Drop local gmenuharness, use it from the system --- tests/integration/CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests') diff --git a/tests/integration/CMakeLists.txt b/tests/integration/CMakeLists.txt index 8193341..a21ce0e 100644 --- a/tests/integration/CMakeLists.txt +++ b/tests/integration/CMakeLists.txt @@ -1,9 +1,10 @@ set(CMAKE_AUTOMOC ON) set(CMAKE_INCLUDE_CURRENT_DIR ON) -#pkg_check_modules(GMENUHARNESS REQUIRED libgmenuharness REQUIRED) -#include_directories(${GMENUHARNESS_INCLUDE_DIRS}) -include_directories("${CMAKE_SOURCE_DIR}/include") +if(LOMIRI_API_FOUND) + pkg_check_modules(GMENUHARNESS REQUIRED libgmenuharness REQUIRED) + include_directories(${GMENUHARNESS_INCLUDE_DIRS}) +endif() pkg_check_modules(QTDBUSTEST REQUIRED libqtdbustest-1 REQUIRED) include_directories(${QTDBUSTEST_INCLUDE_DIRS}) @@ -82,9 +83,8 @@ target_link_libraries( ${QTDBUSMOCK_LDFLAGS} ${QTDBUSTEST_LDFLAGS} ${GMOCK_LIBRARIES} -# ${GMENUHARNESS_LDFLAGS} + ${GMENUHARNESS_LDFLAGS} ${GLIB_LDFLAGS} - gmenuharness-shared ) add_test( -- cgit v1.2.3