diff --git a/CMakeLists.txt b/CMakeLists.txt index a54ed2000..6b34f66f6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,10 +28,10 @@ endif() file(STRINGS icinga2.spec VERSION_LINE REGEX "^Version: ") string(REPLACE "Version: " "" ICINGA2_VERSION ${VERSION_LINE}) -set(ICINGA2_USER "icinga") -set(ICINGA2_GROUP "icinga") -set(ICINGA2_COMMAND_USER "icinga") -set(ICINGA2_COMMAND_GROUP "icingacmd") +set(ICINGA2_USER "icinga" CACHE STRING "Icinga 2 user") +set(ICINGA2_GROUP "icinga" CACHE STRING "Icinga 2 group") +set(ICINGA2_COMMAND_USER "icinga" CACHE STRING "Icinga 2 command user") +set(ICINGA2_COMMAND_GROUP "icingacmd" CACHE STRING "Icinga 2 command group") file(READ "${CMAKE_CURRENT_SOURCE_DIR}/COPYING" ICINGA2_LICENSE_GPL) file(READ "${CMAKE_CURRENT_SOURCE_DIR}/COPYING.Exceptions" ICINGA2_LICENSE_ADDITIONS)