Commit 3e8eac8f authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

Fix finding QtQuick

It is QtQuick_FOUND, not Qt_Quick_FOUND. This broke all special-casings for QtQuick,
such as "drag on empty area" in QtQuick windows and ComboBox popups.

BUG: 398663
FIXED-IN: 5.14.0

Differential Revision: https://phabricator.kde.org/D15568
parent 58e672e7
......@@ -42,7 +42,7 @@ else()
WindowSystem)
find_package(Qt5 COMPONENTS Quick)
set(BREEZE_HAVE_QTQUICK ${Qt5_Quick_FOUND})
set(BREEZE_HAVE_QTQUICK ${Qt5Quick_FOUND})
find_package( KF5FrameworkIntegration CONFIG )
set_package_properties(KF5FrameworkIntegration PROPERTIES
......@@ -160,7 +160,7 @@ else()
kconfig_add_kcfg_files(breeze_PART_SRCS breezestyleconfigdata.kcfgc)
add_library(breeze MODULE ${breeze_PART_SRCS})
target_link_libraries(breeze Qt5::Core Qt5::Gui Qt5::Widgets Qt5::DBus)
if( Qt5_Quick_FOUND )
if( BREEZE_HAVE_QTQUICK )
target_link_libraries(breeze Qt5::Quick)
endif()
target_link_libraries(breeze KF5::ConfigCore KF5::ConfigWidgets KF5::GuiAddons KF5::WindowSystem)
......
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