displacement on curved mesh doesnt work right

I’d like the brickwork to look like the example below, where the mesh follows around the edge nicely without distorting much.