Build fails on macOS - not finding cmark
Long-time user (albeit off and on), so definitely happy to see mac support! Unfortunately, can't get it to build.
To preface: I've installed the listed dependencies via homebrew as best I can tell (ninja, pkg-config, glfw). However, there are additional dependencies that I also had to install (from homebrew): imagemagick (to get convert) and fmt (to get fmt/format.h).
But the main problem is that make fails as it cannot find cmark.h. I have both cmake and cmark installed from homebrew, so I'm not sure why it can't find the header. Any ideas?
I'm on Ubuntu, but I ran into the same problem. I had to sudo apt-get install libcmark-dev to overcome that particular hurdle. Perhaps homebrew has an analogous tap?
Thanks for following up! Unfortunately, I can't find anything analogous on homebrew...there's just cmake and cmark.
I see. Then I recommend just installing the library headers from source yourself: https://github.com/commonmark/cmark