MacOS compiling error - 'SkRegion.h' file not found

I’m trying to compile Aseprite 1.2.17 on MacOS 10.15.3 (Catalina).
So far I have:

  • Cloned the repository
  • Downloaded and compiled (is that the right word?) CMake and Ninja
  • Downloaded the pre-built Skia binary and uncompressed it (filepath is Users/me/deps/skia)
  • Run the following commands successfully:
cd aseprite
mkdir build
cd build
cmake \
  -DCMAKE_OSX_SYSROOT=/Applications/ \
  -DLAF_BACKEND=skia \
  -DSKIA_DIR=$HOME/deps/skia \
  -DSKIA_LIBRARY_DIR=$HOME/deps/skia/out/Release-x64 \
  -G Ninja \

When I now type “ninja aseprite,” I get a long block of text that ends with several errors.
Should I add the errors to this post, or do I need to open an issue on GitHub?

What does your $HOME/deps/skia folder look like? It should contain all the directories inside, not just the Release-x64 folder.