aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-12-08 13:09:52 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-12-08 13:09:52 +0100
commit1a36cae0aa0fc9c4b55efa47a419a3fafdae4923 (patch)
tree428a76cd6f8def241fdd0438d6eac16e2050ec5e
parent92df05b89070d5409da1b36a9867443d03012f25 (diff)
parentc5eee42075f41041bb838292473b76ca4a89b8cc (diff)
downloadayatana-indicator-sound-1a36cae0aa0fc9c4b55efa47a419a3fafdae4923.tar.gz
ayatana-indicator-sound-1a36cae0aa0fc9c4b55efa47a419a3fafdae4923.tar.bz2
ayatana-indicator-sound-1a36cae0aa0fc9c4b55efa47a419a3fafdae4923.zip
Merge branch 'tari01-pr/fix-qt5-use-modules-warning'
Attributes GH PR #73: https://github.com/AyatanaIndicators/ayatana-indicator-sound/pull/73
-rw-r--r--tests/dbus-types/CMakeLists.txt6
-rw-r--r--tests/integration/CMakeLists.txt24
-rw-r--r--tests/service-mocks/accounts-mock/CMakeLists.txt6
-rw-r--r--tests/service-mocks/media-player-mpris-mock/CMakeLists.txt12
4 files changed, 24 insertions, 24 deletions
diff --git a/tests/dbus-types/CMakeLists.txt b/tests/dbus-types/CMakeLists.txt
index 9d7d3a2..c872635 100644
--- a/tests/dbus-types/CMakeLists.txt
+++ b/tests/dbus-types/CMakeLists.txt
@@ -53,8 +53,8 @@ add_library(
dbus-action-result.cpp
)
-qt5_use_modules(
+target_link_libraries(
sound-indicator-dbus-interfaces
- Core
- DBus
+ Qt5::Core
+ Qt5::DBus
)
diff --git a/tests/integration/CMakeLists.txt b/tests/integration/CMakeLists.txt
index 164ab8b..97c18b1 100644
--- a/tests/integration/CMakeLists.txt
+++ b/tests/integration/CMakeLists.txt
@@ -65,11 +65,11 @@ add_dependencies(
test-home
)
-qt5_use_modules(
+target_link_libraries(
integration-tests
- Core
- DBus
- Test
+ Qt5::Core
+ Qt5::DBus
+ Qt5::Test
)
target_link_options (integration-tests PRIVATE -no-pie)
@@ -120,18 +120,18 @@ add_dependencies(
test-home
)
-qt5_use_modules(
+target_link_libraries(
set-volume
- Core
- DBus
- Test
+ Qt5::Core
+ Qt5::DBus
+ Qt5::Test
)
-qt5_use_modules(
+target_link_libraries(
get-volume
- Core
- DBus
- Test
+ Qt5::Core
+ Qt5::DBus
+ Qt5::Test
)
target_link_libraries(
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