summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
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 )