Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Split out glew settings to separate .pri file

git-svn-id: http://svn.clifford.at/openscad/trunk@530 b57f626f-c46c-0410-a088-ec61d464b74c
  • Loading branch information...
commit a9f281e8ae2a9d1df02b49dd7823687f1c55736c 1 parent f5b3b30
kintel authored
Showing with 19 additions and 0 deletions.
  1. +19 −0 glew.pri
View
19 glew.pri
@@ -0,0 +1,19 @@
+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
+}
Please sign in to comment.
Something went wrong with that request. Please try again.