Commit e761c3e9 authored by David Faure's avatar David Faure

Make WebEngine really optional

parent 2276e09b
find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG COMPONENTS WebEngine)
find_package(Qt5WebEngine ${REQUIRED_QT_VERSION} CONFIG)
set_package_properties(Qt5WebEngine PROPERTIES DESCRIPTION "needed by the dict applet"
URL "https://doc.qt.io/qt-5/qtwebengine-index.html"
URL "https://doc.qt.io/qt-5/qtwebengine-index.html" TYPE OPTIONAL
)
if (Qt5WebEngine_FOUND)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment