Add cmake dependancy.