mirror of
https://invent.kde.org/system/dolphin
synced 2024-10-05 16:19:10 +00:00
cmake: add warning when baloo will be disabled
Summary: KFileMetaDataWidget is useless without nepomuk (which no one ships anymore). Let's add at least a warning until we will get rid of kdelibs4support (see T8720). Test Plan: Uninstall baloo-widgets, build dolphin and check the cmake output. Subscribers: kfm-devel Tags: #dolphin Differential Revision: https://phabricator.kde.org/D13005
This commit is contained in:
parent
8e6f4eecd3
commit
7a5dbbc6c5
|
@ -94,6 +94,7 @@ if (KF5Baloo_FOUND AND KF5BalooWidgets_FOUND AND KF5FileMetaData_FOUND)
|
||||||
message(STATUS "Baloo packages are found")
|
message(STATUS "Baloo packages are found")
|
||||||
set(HAVE_BALOO TRUE)
|
set(HAVE_BALOO TRUE)
|
||||||
else()
|
else()
|
||||||
|
message(WARNING "Baloo packages not found. They are needed for the metadata features of Dolphin.")
|
||||||
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
|
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
|
||||||
KDELibs4Support # for KFileMetaDataWidget
|
KDELibs4Support # for KFileMetaDataWidget
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue