Added cmake capability.