Error during installation (make): "unsafe srcdir value"

@Masrul why not? The default for -DCMAKE_INSTALL_PREFIX is /usr/local/gromacs anyway. One can certainly install in /usr/ with sudo make install.