Texture map not displaying the same on all 4 sides



In Blender I have a model of a simple small building. I have manually UV unwrapped it and put a texture on it. The only problem I’m having right now is that the texture is not projecting on all 4 sides of the building the same way (see picture below- The texture map is a rectangle). On two walls the texture displays from left to right and on the other two walls top to bottom. How can I make all 4 walls display the texture side to side instead of top to bottom?