vcpkg/ports/kf5notifications/fix_config_cmake.patch
Dawid Wróbel a7e7bcdd96
[kf5notifications] new port (#19828)
* Add kf5notifications port

* Fixed kf5notifications for windows

* [kf5*] update to 5.75.0

* [kf5notifications] port CONTROL to JSON

* [kf5notifications] remove redundant options

* [kf5notifications] update to current spec

* [kf5notifications] wrap paths in quotes

* [kf5notifications] use semver

* [kf5notifications] update to 5.84.0

* [kf5notifications] update versions

* [kf5notifications] remove bin from static builds

* [kf5notifications] update versions

* [kf5notifications] add kf5windowsystem dependency

* [kf5notifications] update versions

* [kf5notifications] fix CMake config file

* [kf5notifications] update versions

* [kf5notifications] add androidextras dependency

* [kf5notifications] update versions

* [kf5notifications] update versions

* [kf5newstuff] minimize patch size

* [kf5newstuff] use generic, non-semver versioning

* [kf5newstuff] update versions

* [kf5notifications] re-enable parallel configure

* [kf5notifications] update versions

Co-authored-by: Kuntal Majumder <hellozee@disroot.org>
2021-09-29 08:32:13 -07:00

56 lines
1.4 KiB
Diff

diff --git a/KF5NotificationsConfig.cmake.in b/KF5NotificationsConfig.cmake.in
index eeded42..6b261c0 100644
--- a/KF5NotificationsConfig.cmake.in
+++ b/KF5NotificationsConfig.cmake.in
@@ -11,5 +11,47 @@ if (@HAVE_DBUS@)
find_dependency(Qt5DBus @REQUIRED_QT_VERSION@)
endif()
+if (NOT @BUILD_SHARED_LIBS@)
+ find_dependency(KF5CoreAddons "@KF_DEP_VERSION@")
+ find_dependency(KF5Config "@KF_DEP_VERSION@")
+
+ if (@HAVE_KWINDOWSYSTEM@)
+ find_dependency(KF5WindowSystem "@KF_DEP_VERSION@")
+ endif()
+
+ if (@WITH_SNORETOAST@)
+ find_dependency(LibSnoreToast)
+ find_dependency(Qt5Network @REQUIRED_QT_VERSION@)
+ endif()
+
+ if (@HAVE_PHONON4QT5@)
+ find_dependency(Phonon4Qt5)
+ endif()
+
+ if (@Canberra_FOUND@)
+ find_dependency(Canberra)
+ endif()
+
+ if (@Qt5TextToSpeech_FOUND@)
+ find_dependency(Qt5TextToSpeech @REQUIRED_QT_VERSION@)
+ endif()
+
+ if(@X11_FOUND@)
+ find_dependency(Qt5X11Extras @REQUIRED_QT_VERSION@)
+ endif()
+
+ if(APPLE)
+ find_dependency(Qt5MacExtras @REQUIRED_QT_VERSION@)
+ endif()
+
+ if(@HAVE_DBUSMENUQT@)
+ find_dependency(dbusmenu-qt5)
+ endif()
+
+ if (ANDROID)
+ find_dependency(Qt5AndroidExtras @REQUIRED_QT_VERSION@)
+ endif()
+endif()
+
include("${CMAKE_CURRENT_LIST_DIR}/KF5NotificationsTargets.cmake")
@PACKAGE_INCLUDE_QCHTARGETS@
--
GitLab