summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2018-08-26 03:10:29 +0200
committerSlávek Banko <[email protected]>2018-09-01 18:41:35 +0200
commitedd0a5a30ebd724b660718895fd6e857b805764d (patch)
treeb3562bc964775f4895e2b0f9044b7528042764b1 /CMakeLists.txt
parent00d0589dc5f8d9bd8ad08c0ea284fae685dc5647 (diff)
downloadtdeadmin-edd0a5a30ebd724b660718895fd6e857b805764d.tar.gz
tdeadmin-edd0a5a30ebd724b660718895fd6e857b805764d.zip
cmake: Cleanup unused definitions from config.h
Cleanup unnecessary tests from ConfigureChecks Add missing tests to ConfigureChecks Signed-off-by: Slávek Banko <[email protected]>
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 )