vcpkg/ports/kf5solid/fix-libmount.patch
Jack·Boos·Yu a7ad120c8d
[vcpkg baseline][kf5solid] Fix usage (#21344)
* [vcpkg baseline][kf5solid] Fix usage

* version

* change to version

* version

* Apply suggestion

* version

* Apply suggestion

* version
2021-11-15 16:51:11 -08:00

16 lines
476 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(Qt5Xml @REQUIRED_QT_VERSION@)
find_dependency(Qt5Gui @REQUIRED_QT_VERSION@)
+ if (@HAVE_LIBMOUNT@)
+ find_dependency(LibMount)
+ endif()
+
if (@Qt5DBus_FOUND@)
find_dependency(Qt5DBus @REQUIRED_QT_VERSION@)
endif()