Skip to content

Commit 4a42757

Browse files
authored
Fix macOS cmake --install command failing due to Read-only file system (#350)
On `macOS`, the directory `/usr` is read-only (except for `/usr/local`, at least).
1 parent 8e3e8fb commit 4a42757

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/build/building_on_macos.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ cmake -B . -S /tmp/mod_tile_src \
4343
-DENABLE_TESTS:BOOL=ON
4444
cmake --build .
4545
ctest
46-
sudo cmake --install . --prefix /usr --strip
46+
sudo cmake --install . --prefix /usr/local --strip
4747

4848
# Create /usr/local/share/renderd directory
4949
sudo mkdir -p /usr/local/share/renderd

0 commit comments

Comments
 (0)