Hm, unfortunately that error message doesn’t help much. Is that the only output of cmake?
First off, are you building ROOT with builtin_freetype or not? If not, do you have Freetype installed?
Second, I see you’re using cmake 4 and we’ve seen some related issues in the past days: have you checked this thread with a similar problem?