Assuming we want the call to be profitable...

The breakeven point for calling is:

10/(10+25) ~ .29

Therefore we need at least ~29% equity to call.

In this example stack sizes were left out, so depending on how deep we are, and how likely villain is to pay off future bets, we could call with a hand that has less than ~29% equity - however, we need to make up for it on the river.

If calling closes the action, then all that matters is your pot odds, as there is nothing left to gain due to no future betting rounds. If villain will not pay off any bets on the river, then we have no implied odds and cannot call without the minumum ~29% equity.