gefrickel ported to cmake