]> cloud.milkyroute.net Git - dolphin.git/commitdiff
cmake: add warning when baloo will be disabled
authorElvis Angelaccio <elvis.angelaccio@kde.org>
Sun, 20 May 2018 16:49:42 +0000 (18:49 +0200)
committerElvis Angelaccio <elvis.angelaccio@kde.org>
Sun, 20 May 2018 16:54:53 +0000 (18:54 +0200)
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

CMakeLists.txt

index 707160f53cb43335052e7cf315215e414acaf1db..f0e0f59695cc4723f35b083b95bc25c04d4ce4ef 100644 (file)
@@ -94,6 +94,7 @@ if (KF5Baloo_FOUND AND KF5BalooWidgets_FOUND AND KF5FileMetaData_FOUND)
     message(STATUS "Baloo packages are found")
     set(HAVE_BALOO TRUE)
 else()
+    message(WARNING "Baloo packages not found. They are needed for the metadata features of Dolphin.")
     find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
         KDELibs4Support # for KFileMetaDataWidget
     )