You can either set the ROOT environment by sourcing thisroot.sh before running cmake:
. /my_path_to_root_installation/bin/thisroot.sh
or provide the path to your ROOT installation by the CMake variable when running cmake:
-DROOT_DIR=/my_path_to_root_installation/cmake