finish cmake