Usually using cmake is a case of
mkdir build cd build cmake .. make -j4 # or however many threads your CPU has