Unverified Commit 93d8c2a1 authored by Andreas Sturmlechner's avatar Andreas Sturmlechner
Browse files

addons: Add missing Qt5Concurrent to project and search

Implicit use via KIO.

See also: frameworks/kio!426

Signed-off-by: Andreas Sturmlechner's avatarAndreas Sturmlechner <asturm@gentoo.org>
parent 4aa54c1b
find_package(Qt5Concurrent ${QT_MIN_VERSION} QUIET)
find_package(
KF5 ${KF5_DEP_VERSION}
QUIET
......@@ -9,7 +10,7 @@ find_package(
set_package_properties(KFGuiAddons PROPERTIES PURPOSE "Required to build the project addon")
set_package_properties(KF5NewStuff PROPERTIES PURPOSE "Required to build the project addon")
if(NOT KF5_FOUND)
if(NOT KF5_FOUND OR NOT Qt5Concurrent_FOUND)
return()
endif()
......@@ -19,6 +20,7 @@ target_compile_definitions(kateprojectplugin PRIVATE TRANSLATION_DOMAIN="katepro
target_link_libraries(
kateprojectplugin
PRIVATE
Qt5::Concurrent
KF5::GuiAddons
KF5::NewStuff
KF5::TextEditor
......
find_package(Qt5Concurrent ${QT_MIN_VERSION} QUIET)
find_package(KF5ItemViews ${KF5_DEP_VERSION} QUIET)
set_package_properties(KF5ItemViews PROPERTIES PURPOSE "Required to build the search addon")
if(NOT KF5ItemViews_FOUND)
if(NOT KF5ItemViews_FOUND OR NOT Qt5Concurrent_FOUND)
return()
endif()
......@@ -9,8 +10,9 @@ add_library(katesearchplugin MODULE "")
target_compile_definitions(katesearchplugin PRIVATE TRANSLATION_DOMAIN="katesearch")
target_link_libraries(
katesearchplugin
katesearchplugin
PRIVATE
Qt5::Concurrent
KF5::ItemViews
KF5::TextEditor
)
......
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