Updating CMAKE in examples