Added trace to cmake