A classical separation theorem was generalized in $R^n$, for $m$-families of open convex sets by Klee [5] and for $m$-families of compact convex sets by Gallivan and Zaks [2]. In our paper we extend these results to topological vector spaces. Finally, two applications are pointed out.