summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/developer/building-libyang.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/developer/building-libyang.rst b/doc/developer/building-libyang.rst
index ea5f84d2ba..ed3e029908 100644
--- a/doc/developer/building-libyang.rst
+++ b/doc/developer/building-libyang.rst
@@ -46,7 +46,8 @@ The FRR project builds binary ``libyang`` packages, which we offer for download
git clone https://github.com/CESNET/libyang.git
cd libyang
mkdir build; cd build
- cmake -DENABLE_LYD_PRIV=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
+ cmake -DENABLE_LYD_PRIV=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+ -D CMAKE_BUILD_TYPE:String="Release" ..
make
sudo make install