diff options
Diffstat (limited to 'opencsg.pri')
-rw-r--r-- | opencsg.pri | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/opencsg.pri b/opencsg.pri new file mode 100644 index 0000000..3b54f0f --- /dev/null +++ b/opencsg.pri @@ -0,0 +1,19 @@ +opencsg { + DEFINES += ENABLE_OPENCSG + LIBS += -lopencsg + unix:LIBS += -lGLEW + win32:LIBS += -lglew32 + + # Optionally specify location of OpenCSG using the + # OPENCSGDIR env. variable + OPENCSG_DIR = $(OPENCSGDIR) + !isEmpty(OPENCSG_DIR) { + INCLUDEPATH += $$OPENCSG_DIR/include + LIBS += -L$$OPENCSG_DIR/lib + } + macx { + # For glew + INCLUDEPATH += /opt/local/include + LIBS += -L/opt/local/lib + } +} |