aboutsummaryrefslogtreecommitdiff
path: root/tests/integration
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/integration
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/integration')
-rw-r--r--tests/integration/CMakeLists.txt24
1 files changed, 12 insertions, 12 deletions
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(