Compiling CMake project using TDataFrame

I’d like to build a CMake project that uses TDataFrame. Which ROOT component(s) needs to be included for this to link correctly?

TDataFrame is part of the TreePlayer library.