Error with make file in MacOS

operating system: macOS Catalina 10.15.5
geant4 version: 4.10.16

The code was copied from my supervisor and it runs perfectly on his computer. But when I makefile, an error occur:

In file included from /Users/yu/g4work/B1/src/
/Users/g4work/B1/include/B1RunAction.hh:37:10: fatal error: ‘TFile.h’ file not found
#include “TFile.h”
1 error generated.
make[2]: *** [CMakeFiles/exampleB1.dir/src/] Error 1
make[1]: *** [CMakeFiles/exampleB1.dir/all] Error 2

I guess it’s a root header file but I‘ve already installed root.
How can I fix this problem?

As this is code from your supervisor, you should contact them to resolve the issue as it looks like there is a difference in your setup and theirs (e.g. how they have ROOT installed, and how they configure the project to find it).