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

8
deps/GMP/GMP.cmake vendored
View file

@ -16,4 +16,12 @@ if (MSVC)
add_custom_target(dep_GMP SOURCES ${_output})
else ()
ExternalProject_Add(dep_GMP
URL https://gmplib.org/download/gmp/gmp-6.1.2.tar.bz2
BUILD_IN_SOURCE ON
CONFIGURE_COMMAND ./configure --enable-shared=no --enable-static=yes "--prefix=${DESTDIR}/usr/local" --with-pic
BUILD_COMMAND make -j
INSTALL_COMMAND make install
)
endif ()