openscad/cgal.pri

27 lines
609 B
Plaintext
Raw Normal View History

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
win32: INCLUDEPATH += $$CGAL_DIR/auxiliary/gmp/include
LIBS += -L$$CGAL_DIR/lib
message("CGAL location: $$CGAL_DIR")
}
}
windows {
*-g++* {
QMAKE_CXXFLAGS += -frounding-math
}
2011-06-05 21:55:50 +04:00
LIBS += $$CGAL_DIR/auxiliary/gmp/lib/libmpfr-4.lib -lCGAL-vc90-mt-s
} else {
2011-04-06 19:17:12 +04:00
LIBS += -lgmp -lmpfr -lCGAL
QMAKE_CXXFLAGS += -frounding-math
}
}