Following the tutorial directly, I had to do this step before the step to build with cmake.
If you try to build and see that libsnark is missing a CMakeLists.txt file then you should run git submodule init && git submodule update after git clone.
This is on macOS but shouldn't matter.