Skip to content
Snippets Groups Projects
Commit 3a807659 authored by Riccardo Maria Bianchi's avatar Riccardo Maria Bianchi :sunny:
Browse files

Fix README: add note that the extra step is only needed on macOS

parent d0714870
No related branches found
No related tags found
1 merge request!67Bringing GeoModelXML into GeoModel
...@@ -24,12 +24,19 @@ cmake -DCMAKE_INSTALL_PREFIX=../install/ -DGEOMODELATLAS_BUILD_GEOMODELXML=1 ../ ...@@ -24,12 +24,19 @@ cmake -DCMAKE_INSTALL_PREFIX=../install/ -DGEOMODELATLAS_BUILD_GEOMODELXML=1 ../
make make
make install make install
# EXTRA STEP: Add a rpath, only needed when using a local 'install' folder
install_name_tool -add_rpath ../install/lib ../install/lib/libGMXPlugin.dylib
cd .. cd ..
``` ```
### Post-build setup
**NOTE:** This is only needed on macOS, and only when using a local `install` folder (instead of system folders like `usr/local/`).
This extra step tells the `GMXPlugin` where it can find the other libraries, when loaded as a plugin at runtime:
```
# EXTRA STEP: Add a rpath, only needed on macOS and when using a local 'install' folder
install_name_tool -add_rpath install/lib install/lib/libGMXPlugin.dylib
```
## How to run it ## How to run it
......
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