mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-26 11:29:53 +03:00
12cbf34302
Currently the systemd service unit files are installed into /lib/systemd/system if that directory exists. This might not be optimal for every user, e.g. when the build system is not the target system or when building as an unprivileged user using CMAKE_INSTALL_PREFIX. Make this configurable by adding a cached cmake variable CMAKE_INSTALL_SYSTEMD_UNITDIR. Usage: - install unit files into /lib/systemd/system if it exists (old behavior) cmake - don't install unit files cmake -D CMAKE_INSTALL_SYSTEMD_UNITDIR= - install into absolute path cmake -D CMAKE_INSTALL_SYSTEMD_UNITDIR=/path - install into path relative to ${CMAKE_INSTALL_PREFIX} cmake -D CMAKE_INSTALL_SYSTEMD_UNITDIR=path |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
resource.h | ||
vpnbridge.c | ||
vpnbridge.ico | ||
vpnbridge.rc | ||
vpnbridge.vcproj |