# Optionally specify location of GLEW using the 
# GLEWDIR env. variable
GLEW_DIR = $$(GLEWDIR)
!isEmpty(GLEW_DIR) {
  QMAKE_INCDIR += $$GLEW_DIR/include
  QMAKE_LIBDIR += $$GLEW_DIR/lib
  QMAKE_LIBDIR += $$GLEW_DIR/lib64
}

unix:LIBS += -lGLEW
mingw-cross-env*: {
   {
    CONFIG += link_pkgconfig
    PKGCONFIG += glew
  }
} else {
  win32:LIBS += -lglew32
}
