Add Unix builds for gmp and mpfr, downloading and configure for cgal

This commit is contained in:
tamasmeszaros 2019-12-10 12:50:52 +01:00
parent 2cc45dbf21
commit f94321e117
4 changed files with 27 additions and 1 deletions

View file

@ -17,4 +17,13 @@ if (MSVC)
add_custom_target(dep_MPFR SOURCES ${_output})
else ()
ExternalProject_Add(dep_MPFR
URL https://www.mpfr.org/mpfr-3.1.6/mpfr-3.1.6.tar.bz2
BUILD_IN_SOURCE ON
CONFIGURE_COMMAND ./configure --prefix=${DESTDIR}/usr/local --with-gmp=${DESTDIR}/usr/local --with-pic
BUILD_COMMAND make -j
INSTALL_COMMAND make install
DEPENDS dep_GMP
)
endif ()