Commit a19e74f0 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Fix build without QtQuick and QtX11Extras

Otherwise Qt5 is considered not found when either of them is not found
parent 8d4f410c
Pipeline #147039 passed with stage
in 2 minutes and 8 seconds
......@@ -8,7 +8,7 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
ConfigWidgets
WindowSystem)
find_package(Qt5 ${QT_MIN_VERSION} COMPONENTS Quick X11Extras)
find_package(Qt5 ${QT_MIN_VERSION} OPTIONAL_COMPONENTS Quick X11Extras)
set(BREEZE_HAVE_QTQUICK ${Qt5Quick_FOUND})
set(BREEZE_HAVE_QTX11EXTRAS ${Qt5X11Extras_FOUND})
......
Supports Markdown
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