tqroot doesn't work in CAF compilation

When I compile CAF without a parent analysis code layer (like CAFExample), tqroot does not work, because the necessary library is not found. The relevant lines are here.

I added two similar lines without the CAFCore/ layer, which works locally for me. Is this a good solution or is there a smarter way to do this?

Edited by Konstantin Lehmann