Skip to content
Snippets Groups Projects
Commit 82e1fa6c authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

Update README.md

parent 01427e5c
No related branches found
No related tags found
1 merge request!26cmake fixes
Pipeline #11220 passed
...@@ -36,14 +36,14 @@ make install ...@@ -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: 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 ```bash
export WOLF_PREFIX=/your/local/installation/path # To be substituted by your desired installation path export LOCAL_INSTALL_PREFIX=/your/local/installation/path # To be substituted by your desired installation path
export LD_LIBRARY_PATH=$WOLF_PREFIX/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=$LOCAL_INSTALL_PREFIX/lib:$LD_LIBRARY_PATH
export CMAKE_PREFIX_PATH=$WOLF_PREFIX:$CMAKE_PREFIX_PATH export CMAKE_PREFIX_PATH=$LOCAL_INSTALL_PREFIX:$CMAKE_PREFIX_PATH
``` ```
And compile with: And compile with:
```bash ```bash
cmake .. -DCMAKE_INSTALL_PREFIX=$WOLF_PREFIX cmake .. -DCMAKE_INSTALL_PREFIX=$LOCAL_INSTALL_PREFIX
make make
make install make install
``` ```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment