CMake Error: The source directory "C:/aseprite" does not appear to contain CMakeLists.txt.

I was following a tutorial but when I typed:
C:\aseprite\build>cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLAF_BACKEND=skia -DSKIA_DIR=C:\deps\skia -DSKIA_LIBRARY_DIR=C:\deps\skia\out\Release-x64 -DSKIA_LIBRARY=C:\deps\skia\out\Release-x64\skia.lib -G Ninja …
it had an error saying C:/aseprite does not appear to contain CMakeLists.txt. I am very new to all of this and I am not sure what most of it means, but can you help me fix this error

For me the beta version of Aseprite was throwing this error. Once I downloaded the last stable version it worked. Also, make sure that when you extract the Aseprite source code into your C:\aseprite folder that it isn’t just one big folder, but that all of those assets are opened in the folder next to the “build” folder you would have created. Otherwise, CMake won’t see some of the files because they’re in C:\aseprite\aseprite-main or something similar.