diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0102f7a3c..9339d248f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -220,6 +220,16 @@ if( BUILD_STARTKDE ) endif() +##### Determine whether older manpage support is used ########## + +if( EXISTS "/usr/sbin/makewhatis" ) + set( WITH_MAKEWHATIS "1" ) + message( STATUS "Selected makewhatis for kio-man on your system" ) +else() + message( STATUS "Selected man-db for kio-man on your system" ) +endif() + + ##### write configure files ##################### configure_file( config.h.cmake config.h @ONLY ) |