summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2025-01-22 10:14:32 +0100
committerGitHub <noreply@github.com>2025-01-22 10:14:32 +0100
commit208682a7b97bde19409ff34a3cff7d65867e0891 (patch)
tree67cad7b70a36f0d24173f8f307e606e8b90aec8c
parent94cf44d65727534f2b42a38f260a3cb0aed72b88 (diff)
parent826a5c9de7d3471bbe224e005d9ef0e0c206aa72 (diff)
Merge pull request #267 from aparcar/macos
docs: Fix compilation command for macOS
-rw-r--r--docs/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/README.md b/docs/README.md
index 016c7f5..df221dc 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -76,7 +76,7 @@ To build on MacOS, first install *cmake* and *json-c* via
$ brew install cmake json-c
$ git clone https://github.com/jow-/ucode.git
$ cd ucode/
- $ cmake -DUBUS_SUPPORT=OFF -DUCI_SUPPORT=OFF -DULOOP_SUPPORT=OFF .
+ $ cmake -DUBUS_SUPPORT=OFF -DUCI_SUPPORT=OFF -DULOOP_SUPPORT=OFF -DCMAKE_BUILD_RPATH=/usr/local/lib -DCMAKE_INSTALL_RPATH=/usr/local/lib .
$ make
$ sudo make install