add cmake snippet