summaryrefslogtreecommitdiff
path: root/opencsg.pri
blob: c9ed990032dff576b25eacffb58344c84b58a60e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
opencsg {
  HEADERS += src/render-opencsg.h
  SOURCES += src/render-opencsg.cc

  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
    message("OpenCSG location: $$CGAL_DIR")
  }
  macx {
    # For glew
    INCLUDEPATH += /opt/local/include
    LIBS += -L/opt/local/lib
  }
}
contact: Jan Huwald // Impressum