mirror of https://github.com/vitalif/openscad
20 lines
430 B
Plaintext
20 lines
430 B
Plaintext
![]() |
glew {
|
||
|
!deploy {
|
||
|
# 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 += -lglew32
|
||
|
}
|