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 <alexey+github@asokolov.org>
This commit is contained in:
TehPeGaSuS
2025-04-29 08:51:57 +02:00
committed by GitHub
parent ea33a85ccb
commit 056c7d8069

View File

@@ -79,6 +79,10 @@ Note for FreeBSD users:
By default base OpenSSL is selected. By default base OpenSSL is selected.
If you want the one from ports, use `-DOPENSSL_ROOT_DIR=/usr/local`. 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. For troubleshooting, `cmake --system-information` will show you details.
## Setting up znc.conf ## Setting up znc.conf