Is there a standard construction of a classifying space $BC$ for a category $C$ which is enriched which takes into account the enrichment?

This is of course vague... The simplest example I can think of arises when $C$ is enriched over abelian groups or $k$-modules for some commutative ring $k$.