vcpkg/ports/kf5kcmutils/fix_cmake_config.patch
Dawid Wróbel f2608141c5
[kf5kcmutils] new port (#20199)
* Add kf5kcmutils port

* Fixed kf5kcmutils for windows

* [kf5*] update to 5.75.0

* [kf5kcmutils] update to latest spec

* [kf5kcmutils] use semVer

* [kf5kcmutils] add PACKAGE_NAME to vcpkg_cmake_config_fixup

* [kf5kcmutils] update to 5.84.0

* [kf5kcmutils] fix versioning scheme

* [kf5kcmutils] fix SHA sum

* [kf5kcmutils] fix cmake config for static builds

* [kf5kcmutils] add gettext tools dependency

* [kf5kcmutils] update versions

* [kf5kcmutils] reduce patch size

* [kf5kcmutils] update versions

Co-authored-by: Kuntal Majumder <hellozee@disroot.org>
2021-10-27 22:58:20 -07:00

29 lines
1.0 KiB
Diff

diff --git a/KF5KCMUtilsConfig.cmake.in b/KF5KCMUtilsConfig.cmake.in
index 9871fba..ddcf6ea 100644
--- a/KF5KCMUtilsConfig.cmake.in
+++ b/KF5KCMUtilsConfig.cmake.in
@@ -4,6 +4,20 @@ include(CMakeFindDependencyMacro)
find_dependency(KF5ConfigWidgets "@KF_DEP_VERSION@")
find_dependency(KF5Service "@KF_DEP_VERSION@")
+if (NOT @BUILD_SHARED_LIBS@)
+ find_dependency(Qt5DBus "@REQUIRED_QT_VERSION@")
+ find_dependency(Qt5Qml "@REQUIRED_QT_VERSION@")
+ find_dependency(Qt5Quick "@REQUIRED_QT_VERSION@")
+ find_dependency(Qt5QuickWidgets "@REQUIRED_QT_VERSION@")
+
+ find_dependency(KF5CoreAddons "@KF_DEP_VERSION@")
+ find_dependency(KF5GuiAddons "@KF_DEP_VERSION@")
+ find_dependency(KF5I18n "@KF_DEP_VERSION@")
+ find_dependency(KF5ItemViews "@KF_DEP_VERSION@")
+ find_dependency(KF5XmlGui "@KF_DEP_VERSION@")
+ find_dependency(KF5Declarative "@KF_DEP_VERSION@")
+endif()
+
@PACKAGE_SETUP_AUTOMOC_VARIABLES@
include("${CMAKE_CURRENT_LIST_DIR}/KF5KCMUtilsTargets.cmake")
--
GitLab