I use for GEANT4 simulation, to installed a program must be passed by the ccmake command is as follows:
After to generate the file, then the problem is mentioned on the attached image
the output of this command:
Thank you very much

   CMake Error at CMakeLists.txt:25 (find_package):
   Could not find module FindROOT.cmake or a configuration file for package

   Adjust CMAKE_MODULE_PATH to find FindROOT.cmake or set ROOT_DIR to the
   directory containing a CMake configuration file for ROOT.  The file will
   have one of the following names:


 CMake Error at dataformat/CMakeLists.txt:29 (ROOT_GENERATE_DICTIONARY):
   Unknown CMake command "ROOT_GENERATE_DICTIONARY".

Is it not a GEANT4 Question ?

It seems that your example/application uses ROOT and need to locate it. So, what you need to do is to setup the ROOT runtime environment.

source <installation of ROOT>/bin/

Or set ROOT_DIR as the message says