2010-01-30 07:27:59 +03:00
|
|
|
cgal {
|
|
|
|
DEFINES += ENABLE_CGAL
|
|
|
|
LIBS += -lCGAL
|
2010-03-31 04:25:04 +04:00
|
|
|
|
|
|
|
# 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")
|
|
|
|
}
|
2010-01-30 07:27:59 +03:00
|
|
|
macx {
|
|
|
|
# The -L/usr/lib is to force the linker to use system libraries over MacPort libraries
|
2010-03-31 04:25:04 +04:00
|
|
|
LIBS += -L/usr/lib -L/opt/local/lib /opt/local/lib/libgmp.a /opt/local/lib/libmpfr.a /opt/local/lib/libboost_thread-mt.a
|
2010-01-30 07:27:59 +03:00
|
|
|
}
|
|
|
|
else {
|
|
|
|
LIBS += -lmpfr
|
|
|
|
}
|
|
|
|
win32:LIBS += -lboost_thread -lgmp
|
|
|
|
QMAKE_CXXFLAGS += -frounding-math
|
|
|
|
}
|