vcpkg/ports/kf5solid/001_fix_libmount.patch
Weihang Ding 78ba9711d3
[kf5solid] Add imobile feature (#33888)
* [kf5solid] Add imobile feature

* Update version database

* Fix imobilde version

* Update version database

* Remove imobile from platform-default-features

* Update version database
2023-09-22 16:09:58 -07:00

16 lines
550 B
Diff

diff --git a/KF5SolidConfig.cmake.in b/KF5SolidConfig.cmake.in
index 0a23f44..7020804 100644
--- a/KF5SolidConfig.cmake.in
+++ b/KF5SolidConfig.cmake.in
@@ -23,6 +23,10 @@ if (NOT @BUILD_SHARED_LIBS@)
find_dependency(Qt@QT_MAJOR_VERSION@Xml @REQUIRED_QT_VERSION@)
find_dependency(Qt@QT_MAJOR_VERSION@Gui @REQUIRED_QT_VERSION@)
+ if (@HAVE_LIBMOUNT@)
+ find_dependency(LibMount)
+ endif()
+
if ("@Qt5DBus_FOUND@" OR "@Qt6DBus_FOUND@")
find_dependency(Qt@QT_MAJOR_VERSION@DBus @REQUIRED_QT_VERSION@)
endif()