Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (27 sloc) 0.619 kB
cgal {
DEFINES += ENABLE_CGAL
# Optionally specify location of CGAL using the
# CGALDIR env. variable
CGAL_DIR = $$(CGALDIR)
!isEmpty(CGAL_DIR) {
QMAKE_INCDIR += $$CGAL_DIR/include
QMAKE_LIBDIR += $$CGAL_DIR/lib
message("CGAL location: $$CGAL_DIR")
}
CONFIG(mingw-cross-env) {
LIBS += -lgmp -lmpfr -lCGAL
QMAKE_CXXFLAGS += -frounding-math
} else {
win* {
*-g++* {
QMAKE_CXXFLAGS += -frounding-math
}
} else {
QMAKE_CXXFLAGS += -frounding-math
}
LIBS += -lCGAL -lmpfr -lgmp
}
*clang* {
QMAKE_CXXFLAGS -= -frounding-math
}
}
Jump to Line
Something went wrong with that request. Please try again.