Any degree will do for a career as an airline pilot. The degree is one of the ways airlines "raise the bar" to reduce the number of applicants. Now, if you want to be a test pilot, then you would benefit by getting a "real" engineering degree. If you want to be a weather research pilot, a degree in meteorology would be helpful.
The best advice I've heard is that a prospective airline pilot should plan on being unemployed (furloughed) at times in his aviation career, and that he should plan on not making much money. With that in mind, I recommend you find another thing you have a passion for, and study that in college. Hopefully you'll be able to work at your "other" love while in the doldrums of a flying career, and keep food on the table and have a happy life.
Given the sorry state of airline flying nowadays, it's hard to recommend it as a career choice. You should give some deep thought to what it is about flying that you love, and decide if the airlines will reward that love. There are many other flying options that might suit you better. Or like many of us, you may do something else for a "career" and have the money and time to do the kind of flying you truly love.
I'm sure others will chime in. Read all the advice, think hard about it, talk to your family, and follow your passion.
Best wishes,