summaryrefslogtreecommitdiff
path: root/opencsg.pri
diff options
context:
space:
mode:
Diffstat (limited to 'opencsg.pri')
-rw-r--r--opencsg.pri20
1 files changed, 7 insertions, 13 deletions
diff --git a/opencsg.pri b/opencsg.pri
index d34f11b..ff3bc4d 100644
--- a/opencsg.pri
+++ b/opencsg.pri
@@ -1,20 +1,14 @@
opencsg {
DEFINES += ENABLE_OPENCSG
CONFIG += glew
- include(glew.pri)
- HEADERS += src/OpenCSGRenderer.h
- SOURCES += src/OpenCSGRenderer.cc
-
- isEmpty(DEPLOYDIR) {
- # 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
- message("OpenCSG location: $$OPENCSG_DIR")
- }
+ # Optionally specify location of OpenCSG using the
+ # OPENCSGDIR env. variable
+ OPENCSG_DIR = $$(OPENCSGDIR)
+ !isEmpty(OPENCSG_DIR) {
+ QMAKE_INCDIR += $$OPENCSG_DIR/include
+ QMAKE_LIBDIR += $$OPENCSG_DIR/lib
+ message("OpenCSG location: $$OPENCSG_DIR")
}
LIBS += -lopencsg
contact: Jan Huwald // Impressum