Where a county farm owned by any county lies within any drainage district and would be benefited thereby, the board of supervisors are authorized in their discretion to pay out of the general county fund the pro rata of tax for which such county lands should be taxed if owned by individuals.