Skip to content

Commit

Permalink
Fix macOS cmake --install command failing due to `Read-only file sy…
Browse files Browse the repository at this point in the history
…stem` (#350)

On `macOS`, the directory `/usr` is read-only (except for `/usr/local`, at least).
  • Loading branch information
hummeltech authored Dec 12, 2023
1 parent 8e3e8fb commit 4a42757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/build/building_on_macos.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ cmake -B . -S /tmp/mod_tile_src \
-DENABLE_TESTS:BOOL=ON
cmake --build .
ctest
sudo cmake --install . --prefix /usr --strip
sudo cmake --install . --prefix /usr/local --strip

# Create /usr/local/share/renderd directory
sudo mkdir -p /usr/local/share/renderd
Expand Down

0 comments on commit 4a42757

Please sign in to comment.