Added cmake modules

Some cmake modules borrowed from glm and opensubdiv.