vcpkg/ports/kf5declarative/fix_config_cmake.patch
Dawid Wróbel a3aef4e5bf
[kf5declarative] new port (#19813)
* Add kf5declarative port [WIP]

* Fixed kf5declarative for windows

* [kf5*] update to 5.75.0

* [kf5declarative] update to current spec

* [kf5declarative] copy tools, don't remove them

* [kf5declarative] remove redundant options

* [kf5declarative] nothing is copied to /etc, no need to remove it

* [kf5declarative] wrap paths in quotes

* [kf5declarative] use default /share location for data

* [kf5declarative] add PACKAGE_NAME to vcpkg_cmake_config_fixup

* [kf5declarative] update to 5.84.0

* [kf5declarative] update versions

* [kf5declarative] add gettext tools dependency

* [kf5declarative] update versions

* [kf5declarative] add kf5notifications dependency

* [kf5declarative] update versions

* [kf5declarative] fix tool handling on macOS

* [kf5declarative] fix cmake config for static builds

* [kf5declarative] update versions

* [kf5declarative] AUTO_CLEAN tools

* [kf5declarative] update versions

* [kf5declarative] explicitly control epoxy feature

* [kf5declarative] KDE_INSTALL_QMLDIR instead moving by hand

* [kf5declarative] update versions

* [kf5declarative] minimize patch size

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* [kf5declarative] fix indentation

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* [kf5declarative] drop semVer versioning

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* [kf5declarative] enable parallel builds

* [kf5declarative] update versions

* [kf5declarative] mark CMAKE_DISABLE_FIND_PACKAGE_EPOXY as maybe unused

* [kf5declarative] update versions

* [kf5declarative] formatting

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* [kf5declarative] mark BUNDLE_INSTALL_DIR as maybe unused

* [kf5declarative] update versions

Co-authored-by: Kuntal Majumder <hellozee@disroot.org>
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2021-10-22 00:39:52 -07:00

24 lines
707 B
Diff

diff --git a/KF5DeclarativeConfig.cmake.in b/KF5DeclarativeConfig.cmake.in
index d66617c..1bf4e0a 100644
--- a/KF5DeclarativeConfig.cmake.in
+++ b/KF5DeclarativeConfig.cmake.in
@@ -6,5 +6,15 @@ find_dependency(KF5Config "@KF_DEP_VERSION@")
find_dependency(KF5CoreAddons "@KF_DEP_VERSION@")
find_dependency(KF5Package "@KF_DEP_VERSION@")
+if (NOT @BUILD_SHARED_LIBS@)
+ find_dependency(KF5I18n "@KF_DEP_VERSION@")
+ find_dependency(KF5KIO "@KF_DEP_VERSION@")
+ find_dependency(KF5IconThemes "@KF_DEP_VERSION@")
+
+ if (ANDROID)
+ find_dependency(epoxy)
+ endif()
+endif()
+
include("${CMAKE_CURRENT_LIST_DIR}/KF5DeclarativeTargets.cmake")
@PACKAGE_INCLUDE_QCHTARGETS@
--
GitLab