meson/nanosvg: add support for linking against system's nanosvg
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Nanosvg upstream is header only, and does not support/provide a library, neither shared nor static. However, most distributions still provide a nanosvg package with either a static library, or shared. Arch does the latter. So, let's support building against a system provided nanosvg library. The default is still to use bundled version, but this can be changed with -Dsystem-nanosvg=enabled when configuring the build tree. Closes #275
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
10 files+29 added−13 removed
- other:+29 added−13 removed