aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-11-08 00:41:22 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-11-08 13:19:22 +0100
commit1fe3c7300509a9a8b3ddc58a9c687c50a6622d75 (patch)
tree00ade741c62d80fabf8e6d6dd9a44aa58cdd4107 /tests
parent657e425e7feb8d18ea0cc422952e1f4d768efa63 (diff)
downloadayatana-indicator-sound-1fe3c7300509a9a8b3ddc58a9c687c50a6622d75.tar.gz
ayatana-indicator-sound-1fe3c7300509a9a8b3ddc58a9c687c50a6622d75.tar.bz2
ayatana-indicator-sound-1fe3c7300509a9a8b3ddc58a9c687c50a6622d75.zip
Drop local gmenuharness, use it from the system
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/CMakeLists.txt10
1 files changed, 5 insertions, 5 deletions
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(