Remove opengl-related cmake warning