memononen / nanovg

Antialiased 2D vector drawing library on top of OpenGL for UI and visualizations.
zlib License
5.15k stars 771 forks source link

Added cmake build file. #565

Open kuasha opened 4 years ago

kuasha commented 4 years ago

Added a simple cmake build file that can be used to build and install nanovg static library. And then it can be linked using -lnanovg and header files can be included simply - like #include <nanovg/nanovg.h>. Though it might be useful for others as well.