CMake is not a package management tool, it is a build tool. It can be abused to do package management, but that isn't what it is for.