To provide a local, and most likely newer, version of CMake than the system packages provide you can easily build it from source and install it to the systemd file-hierarchy spec which is an extension of the xdg user-dirs spec. The effect of this is there can be a fully functional CMake on the current user’s path and it will only be available to the current user. This is achieved by installing CMake to $HOME/.