advanced cmake support for libmve