Forwarded: no
Last-Update: 2021-01-16
This makes it possible to build kaccount-provides, albeith without the
nextcloud plugin, also on architectures that do not have QtWebEngine.
Gbp-Pq: Name optional-qtwebengine.diff
find_package(Intltool REQUIRED)
find_package(KAccounts REQUIRED)
-find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Core Qml WebEngine)
+find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Core Qml)
+find_package(Qt5WebEngine ${QT_REQUIRED_VERSION} CONFIG)
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED KIO I18n Declarative Package)
include(KDEInstallDirs)
add_subdirectory(owncloud-ui)
-add_subdirectory(nextcloud-ui)
\ No newline at end of file
+if (Qt5WebEngine_FOUND)
+ add_subdirectory(nextcloud-ui)
+endif()