From: Ivailo Monev Date: Sun, 23 Jan 2022 11:59:31 +0000 (+0200) Subject: generic: add fortune feature information X-Git-Tag: 4.22.0~833 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=ae50f9044c206f7d705edfd73cf3232acea2c178;p=kde%2Fkde-workspace.git generic: add fortune feature information Signed-off-by: Ivailo Monev --- diff --git a/CMakeLists.txt b/CMakeLists.txt index e395ad42..aa832d74 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -287,6 +287,11 @@ add_feature_info(mtools "KIO floppy support" ) +find_program(FORTUNE_EXECUTABLE fortune) +add_feature_info(fortune + FORTUNE_EXECUTABLE + "Fortune messages support in screensaver" +) check_include_files(sys/wait.h HAVE_SYS_WAIT_H) check_include_files(sys/time.h HAVE_SYS_TIME_H)