From 82e1fa6c940b8c96d8194a814966e5c10605bb5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20Vallv=C3=A9=20Navarro?= <jvallve@iri.upc.edu> Date: Fri, 20 May 2022 22:24:11 +0200 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8f35823..0e69134 100644 --- a/README.md +++ b/README.md @@ -36,14 +36,14 @@ make install With the previous steps, the library will be stored in `CMAKE_PREFIX_PATH` that usually is `/usr/local`. If you want to install the library in a local folder (avoiding sudo permissions), you can add these lines in your `.bashrc` file: ```bash -export WOLF_PREFIX=/your/local/installation/path # To be substituted by your desired installation path -export LD_LIBRARY_PATH=$WOLF_PREFIX/lib:$LD_LIBRARY_PATH -export CMAKE_PREFIX_PATH=$WOLF_PREFIX:$CMAKE_PREFIX_PATH +export LOCAL_INSTALL_PREFIX=/your/local/installation/path # To be substituted by your desired installation path +export LD_LIBRARY_PATH=$LOCAL_INSTALL_PREFIX/lib:$LD_LIBRARY_PATH +export CMAKE_PREFIX_PATH=$LOCAL_INSTALL_PREFIX:$CMAKE_PREFIX_PATH ``` And compile with: ```bash -cmake .. -DCMAKE_INSTALL_PREFIX=$WOLF_PREFIX +cmake .. -DCMAKE_INSTALL_PREFIX=$LOCAL_INSTALL_PREFIX make make install ``` -- GitLab