From b9161936afee4d89301f71bc8e09c07f7b8b45b9 Mon Sep 17 00:00:00 2001 From: Vincent JARDIN Date: Sun, 14 Apr 2024 10:46:34 +0200 Subject: [PATCH] docs: sysrepo install-prefix since cmake 3.21 use the new recommendation from cmake: --install-prefix 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 --- doc/developer/northbound/plugins-sysrepo.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/developer/northbound/plugins-sysrepo.rst b/doc/developer/northbound/plugins-sysrepo.rst index 0cfdb825e5..f4df68ce3c 100644 --- a/doc/developer/northbound/plugins-sysrepo.rst +++ b/doc/developer/northbound/plugins-sysrepo.rst @@ -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 -- 2.39.5