mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 13:06:51 +00:00
docs: sysrepo install-prefix since cmake 3.21
use the new recommendation from cmake: --install-prefix <directory> New in version 3.21. Specify the installation directory, used by the CMAKE_INSTALL_PREFIX variable. Must be an absolute path. reminder: the default path is /usr/local instead of /usr Signed-off-by: Vincent Jardin <vjardin@free.fr>
This commit is contained in:
parent
e779a5fd7e
commit
b9161936af
@ -32,7 +32,7 @@ libyang
|
||||
cd libyang
|
||||
git checkout v2.1.148
|
||||
mkdir build; cd build
|
||||
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \
|
||||
cmake --install-prefix /usr \
|
||||
-DCMAKE_BUILD_TYPE:String="Release" ..
|
||||
make
|
||||
sudo make install
|
||||
@ -51,7 +51,7 @@ Sysrepo
|
||||
cd sysrepo/
|
||||
git checkout v2.2.150
|
||||
mkdir build; cd build
|
||||
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \
|
||||
cmake --install-prefix /usr \
|
||||
-DCMAKE_BUILD_TYPE:String="Release" ..
|
||||
make
|
||||
sudo make install
|
||||
|
Loading…
Reference in New Issue
Block a user