Add cmake snippet