From c5eee42075f41041bb838292473b76ca4a89b8cc Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Tue, 7 Dec 2021 11:36:56 +0100 Subject: Fix qt5_use_modules warning fixes https://github.com/AyatanaIndicators/ayatana-indicator-sound/issues/72 --- tests/integration/CMakeLists.txt | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'tests/integration') 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( -- cgit v1.2.3