It's hard to tell with only 1 line of the code.
But I'm guessing you just need to add ...

ADCON1 = $0F
CMCON = 7


hth,