summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-08-26 03:10:29 +0200
committerSlávek Banko <slavek.banko@axis.cz>2018-09-01 19:02:11 +0200
commitd3cf7d775d76e96ad58e920d1904ef858915725a (patch)
treee90d97fd80e9b1cecfb8a698b51b12cee8ef9782 /CMakeLists.txt
parent461c8e11fb9a977e5cdcaf895d901e4631e0763d (diff)
downloadtdeadmin-d3cf7d775d76e96ad58e920d1904ef858915725a.tar.gz
tdeadmin-d3cf7d775d76e96ad58e920d1904ef858915725a.zip
cmake: Cleanup unused definitions from config.h
Cleanup unnecessary tests from ConfigureChecks Add missing tests to ConfigureChecks Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit edd0a5a30ebd724b660718895fd6e857b805764d)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 425070e..d9467cc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -18,6 +18,7 @@ set( VERSION R14.0.4 )
#### include essential cmake modules
include( FindPkgConfig )
+include( CheckFunctionExists )
include( CheckIncludeFile )
include( CheckLibraryExists )
include( CheckCSourceCompiles )
@@ -57,6 +58,17 @@ option( BUILD_SECPOLICY "Build secpolicy" ${BUILD_ALL} )
option( BUILD_TDEFILE_PLUGINS "Build tdefile-plugins" ${BUILD_ALL} )
+##### user defined options #######
+
+set( KU_FIRSTUID 500 CACHE STRING "KUser - first user ID" )
+set( KU_FIRSTGID 500 CACHE STRING "KUser - first group ID" )
+set( KU_USERPRIVATEGROUP false CACHE STRING "KUser - use private groups" )
+set( KU_HOMEDIR_PERM 0700 CACHE STRING "KUser - home directory permissions" )
+set( KU_HOMETEMPLATE "/home/%U" CACHE STRING "KUser - default template for homedir" )
+set( KU_MAILBOX_GID 0 CACHE STRING "KUser - mailbox gid" )
+set( KU_MAILBOX_PERM 0660 CACHE STRING "KUser - mailbox permissions" )
+
+
##### configure checks
include( ConfigureChecks.cmake )