As @clemenci predicted TMVAWeights is not inherited in old CMake projects. This is a fix for that problem.