Rotating a building in The Lord of the Rings: The Battle for Middle-earth II is done with a keyboard modifier and the mouse.
Hold down Control and move the mouse. The structure spins to follow the cursor, and you release once it is facing the direction you want.
Orientation is not purely cosmetic. Buildings with a clear front, such as defensive structures and spawn points, are more useful when they face the approach you expect the enemy to use. Getting the angle right before you commit resources saves you rebuilding later.
Small quality-of-life detail, but one that makes a base noticeably easier to defend.