Added debug in cmake