From: Elvis Angelaccio Date: Sun, 20 May 2018 16:49:42 +0000 (+0200) Subject: cmake: add warning when baloo will be disabled X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/7a5dbbc6c584ca456b6f2cdc927513a78b382f36 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 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 707160f53..f0e0f5969 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 )