Commit 443eed27 authored by jan.koester's avatar jan.koester
Browse files

work cmake

parent 07f6b662
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ find_package(OpenLDAP REQUIRED)
set(SSOD_USER "www-data" CACHE STRING "run ssod as user")
set(SSOD_GROUP "www-data" CACHE STRING "run ssod as group")
set(ADMINCTL_BIND_DIR "/run/ssod" CACHE STRING "dir for adminctl socket")
set(UI_FOLDER "${CMAKE_PREFIX_PATH}/share/ssod/ui" CACHE STRING "weebroot ui")
set(UI_FOLDER "${CMAKE_INSTALL_PREFIX}/share/ssod/ui" CACHE STRING "weebroot ui")

configure_file(config.h.in config.h)

+1 −1
Original line number Diff line number Diff line
@@ -5,4 +5,4 @@

#define UI_FOLDER "${UI_FOLDER}"

#define LIBEXEC_DIR(X) "${CMAKE_PREFIX_PATH}/libexec/ssod/" #X
#define LIBEXEC_DIR(X) "${CMAKE_INSTALL_PREFIX}/libexec/ssod/" #X
+1 −1
Original line number Diff line number Diff line
install(
    DIRECTORIES
    DIRECTORY
        user
        admin
        js