diff options
| author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2026-02-07 21:59:35 +0100 |
|---|---|---|
| committer | Sander Vrijders <sander@ouroboros.rocks> | 2026-02-13 09:22:29 +0100 |
| commit | 4c73ee20024e1d1272a979574438749cfcd61426 (patch) | |
| tree | f280d4997fd6f5f8675e9fe8bd1e0ab92cf54e40 /src/irmd/oap/auth.h | |
| parent | acd92b8873839bdaaf15aaf86c19edc9f165966e (diff) | |
| download | ouroboros-4c73ee20024e1d1272a979574438749cfcd61426.tar.gz ouroboros-4c73ee20024e1d1272a979574438749cfcd61426.zip | |
build: Fix config dir to follow install prefix
Move CMAKE_INSTALL_PREFIX override before GNUInstallDirs so that
CMAKE_INSTALL_FULL_SYSCONFDIR is computed with the correct prefix
(/usr on Linux, /usr/local on macOS). This ensures
OUROBOROS_CONFIG_DIR defaults to /etc/ouroboros for /usr installs and
/usr/local/etc/ouroboros for /usr/local installs on first cmake run.
Also move config/global before dependencies so OUROBOROS_CONFIG_DIR is
set when libtoml.cmake displays the configuration directory message.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/irmd/oap/auth.h')
0 files changed, 0 insertions, 0 deletions
