Commit 6b883ca0 authored by Evgeniy Reizner's avatar Evgeniy Reizner Committed by GitHub

Merge pull request #74 from ocohen/master

Added instructions for installing cairo-backend with homebrew
parents 59a70c77 505b923e
......@@ -121,4 +121,15 @@ QT_DIR=/Users/$USER/Qt/5.9.3/clang_64 cargo build --release --features "qt-backe
### cairo backend
Not supported.
`cargo build --release --features "cairo-backend"`
For C API:
Install `gdk-pixbuf`, `pango`, and `cairo` with [homebrew](https://brew.sh/):
```
brew install gdk-pixbuf
brew install pango
brew install cairo
cd capi && cargo build --release --features "cairo-backend"
```
Which generates target/release/libresvg.dylib
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment