From 056c7d806996b6067a93839fc9c185ee823d7e97 Mon Sep 17 00:00:00 2001 From: TehPeGaSuS <25697531+TehPeGaSuS@users.noreply.github.com> Date: Tue, 29 Apr 2025 08:51:57 +0200 Subject: [PATCH] Explain how install ZNC in a custom path (#1946) Added the the `-DCMAKE_INSTALL_PREFIX` for those wanting to install ZNC in a custom path. Co-authored-by: Alexey Sokolov --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 5330ee9a..debfb09c 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,10 @@ Note for FreeBSD users: By default base OpenSSL is selected. If you want the one from ports, use `-DOPENSSL_ROOT_DIR=/usr/local`. +If you want to install ZNC in a custom path, run `cmake` with the `-DCMAKE_INSTALL_PREFIX` argument or `./configure` with `--prefix` argument. +Example: +`cmake .. -DCMAKE_INSTALL_PREFIX=/home/user/znc` + For troubleshooting, `cmake --system-information` will show you details. ## Setting up znc.conf