If Mompou, then Turina, for sure!
A couple more Brits: Alan Rawsthorne, Nicholas Maw. A Finn: Magnus Lindberg.
There really are so many composers, especially in the 20th-21st centuries, who have written guitar pieces amongst a broader output (if that is one's criteria: the OP never actually specified what he/she considered to be a "major composer"), that the list could go on and on. (And, that's a wonderful thing, isn't it!)