update example cmake file