You also don’t have to specify a formal second major. You can major in CS and take as many classes in math as you want, without having to achieve a double major in it - so you can do more than a minor but less than a major, if that makes sense for your needs.