aboutsummaryrefslogtreecommitdiff
path: root/tests/service-mocks
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-12-07 11:36:56 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-12-08 13:08:08 +0100
commitc5eee42075f41041bb838292473b76ca4a89b8cc (patch)
tree428a76cd6f8def241fdd0438d6eac16e2050ec5e /tests/service-mocks
parent92df05b89070d5409da1b36a9867443d03012f25 (diff)
downloadayatana-indicator-sound-c5eee42075f41041bb838292473b76ca4a89b8cc.tar.gz
ayatana-indicator-sound-c5eee42075f41041bb838292473b76ca4a89b8cc.tar.bz2
ayatana-indicator-sound-c5eee42075f41041bb838292473b76ca4a89b8cc.zip
Fix qt5_use_modules warning
fixes https://github.com/AyatanaIndicators/ayatana-indicator-sound/issues/72
Diffstat (limited to 'tests/service-mocks')
-rw-r--r--tests/service-mocks/accounts-mock/CMakeLists.txt6
-rw-r--r--tests/service-mocks/media-player-mpris-mock/CMakeLists.txt12
2 files changed, 9 insertions, 9 deletions
diff --git a/tests/service-mocks/accounts-mock/CMakeLists.txt b/tests/service-mocks/accounts-mock/CMakeLists.txt
index da9bc99..bc2691f 100644
--- a/tests/service-mocks/accounts-mock/CMakeLists.txt
+++ b/tests/service-mocks/accounts-mock/CMakeLists.txt
@@ -35,8 +35,8 @@ add_executable(
main.cpp
)
-qt5_use_modules(
+target_link_libraries(
accounts-service-sound
- Core
- DBus
+ Qt5::Core
+ Qt5::DBus
)
diff --git a/tests/service-mocks/media-player-mpris-mock/CMakeLists.txt b/tests/service-mocks/media-player-mpris-mock/CMakeLists.txt
index b7284bb..abe109e 100644
--- a/tests/service-mocks/media-player-mpris-mock/CMakeLists.txt
+++ b/tests/service-mocks/media-player-mpris-mock/CMakeLists.txt
@@ -44,16 +44,16 @@ add_executable(
testplayers
)
-qt5_use_modules(
+target_link_libraries(
media-player-mpris-mock
- Core
- DBus
+ Qt5::Core
+ Qt5::DBus
)
-qt5_use_modules(
+target_link_libraries(
media-player-mpris-mock-update
- Core
- DBus
+ Qt5::Core
+ Qt5::DBus
)
# test players desktop files