CMAKE_INSTALL_PREFIX is set by BY. I guess Mock doesn't have a proper install target. I suggest to add it there, by means of http://svn2github.com/. Our common practice it to use a bbp tree as our master, see my recent tclap work.