CMake error on mac os mojave related to X11

You seem to be missing the header files for X11, which ROOT needs to compile with X11 support.

I would stick with clang on Mac OS X, as GCC is known to have problems compiling native code.