You will need to have Receipt Manager enabled for this to be an option. (This is a free feature a Support Analyst can turn on for you)

Go to Setup -> Receipt Manager
Edit the receipt
Go to step 3 select applications
Select Donation Campaign
Select Campaign to assign
This only works at the campaign level, not the form level
if you need it to affect only one form, it has to be in a campaign to itself