Either clone the repository via git or just download ZIP via Code button on github ... set GAMEDIR variable to the directory name and CMAKE_INSTALL_PREFIX to your Half-Life or Xash3D installation path ...