I built on wsl the other day. If you don’t specify a generator then it should default to
CMake generator: Unix Makefiles
If you want a faster build then use -GNinja
or -G"Ninja Multi-Config"
if your not building the CUDA modules. If you want FFmpeg make sure you install pkg-config before installing FFmpeg libs if you want them to be automatically picked up.