diff --git a/README.md b/README.md index 8f35823492e905704daefa042e2ea92dcc1bb08a..0e691347a3ccf050503b83769e59143e352ccbdd 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 ```