Make header-only glm produce a custom-target.