mirror of https://github.com/vitalif/openscad
20 lines
442 B
Plaintext
20 lines
442 B
Plaintext
glew {
|
|
isEmpty(DEPLOYDIR) {
|
|
# Optionally specify location of GLEW using the
|
|
# GLEWDIR env. variable
|
|
GLEW_DIR = $$(GLEWDIR)
|
|
isEmpty(GLEW_DIR) {
|
|
# Default to MacPorts on Mac OS X
|
|
macx: GLEW_DIR = /opt/local
|
|
}
|
|
!isEmpty(GLEW_DIR) {
|
|
INCLUDEPATH += $$GLEW_DIR/include
|
|
LIBS += -L$$GLEW_DIR/lib
|
|
message("GLEW location: $$GLEW_DIR")
|
|
}
|
|
}
|
|
|
|
unix:LIBS += -lGLEW
|
|
win32:LIBS += -lglew32s
|
|
}
|