From c6bccbf6de33ba907f1cddfa64dadb8cfeea4d2c Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Tue, 15 Mar 2022 13:30:13 +0100 Subject: Fix some compile error against qt6 --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 021be0cf3..e19f6c233 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -69,7 +69,7 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS WindowSystem ) -find_package(KUserFeedback 1.0.0) +find_package(KUserFeedback 1.2.0) set_package_properties(KUserFeedback PROPERTIES TYPE OPTIONAL PURPOSE "Used for submission of telemetry data" @@ -91,13 +91,13 @@ set_package_properties(KF5Activities PROPERTIES DESCRIPTION "KActivities librari find_package(Phonon4Qt${QT_MAJOR_VERSION} CONFIG REQUIRED) -find_package(PackageKitQt5) -set_package_properties(PackageKitQt5 +find_package(PackageKitQt${QT_MAJOR_VERSION}) +set_package_properties(PackageKitQt${QT_MAJOR_VERSION} PROPERTIES DESCRIPTION "Software Manager integration" TYPE OPTIONAL PURPOSE "Used in the service menu installer" ) -if(PackageKitQt5_FOUND) +if(PackageKitQt${QT_MAJOR_VERSION}_FOUND) set(HAVE_PACKAGEKIT TRUE) endif() -- cgit v1.3.1