Removing cmake debug code