mirror of https://github.com/vitalif/openscad
18 lines
397 B
Plaintext
18 lines
397 B
Plaintext
cgal {
|
|
DEFINES += ENABLE_CGAL
|
|
|
|
isEmpty(DEPLOYDIR) {
|
|
# Optionally specify location of CGAL using the
|
|
# CGALDIR env. variable
|
|
CGAL_DIR = $$(CGALDIR)
|
|
!isEmpty(CGAL_DIR) {
|
|
INCLUDEPATH += $$CGAL_DIR/include
|
|
LIBS += -L$$CGAL_DIR/lib
|
|
message("CGAL location: $$CGAL_DIR")
|
|
}
|
|
}
|
|
|
|
LIBS += -lCGAL -lmpfr -lgmp -lboost_thread
|
|
QMAKE_CXXFLAGS += -frounding-math
|
|
}
|