Add RootObject.h to CMakeLists.txt.