forked from kevinmehall/pyscad
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
kintel
committed
May 7, 2010
1 parent
f5b3b30
commit a9f281e
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -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 | |||
} |