Added cmake for tre