fix the cmake example