1Troubleshooting Error: "fatal error: G4GDMLParser.hh: No such file or directory" while Building Geant4 Code

downloaded the latest version of Geant4 11.2.2 for the Linux Alma9 platform, but I get an error when building the code!

xxxxx/Hadronic_5/Neutrino.cc:23:10: fatal error: G4GDMLParser.hh: No such file or directory
   23 | #include "G4GDMLParser.hh"
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/Neutrino.dir/build.make:76: CMakeFiles/Neutrino.dir/Neutrino.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/Neutrino.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

You need to check geant is built with gdml enabled.

I have found the problem. Just as you said, but I am curious why the pre-built version does not enable this option.