That isn't the right way to look at it.  The state isn't forcing anyone to make a cake, they are saying that if you are going to make cakes, you have to make them for everyone.  No one is forcing anyone to do anything.  Indeed, the baker in this case decided to stop making wedding cakes at all so that he isn't running afoul of the law or his conscience.  It is a person's choice about what line of work they are going into and if that line of work doesn't line up with their religious beliefs, then the best approach would be to find another line of work rather than try and change the conditions of job to fit your religious beliefs.