Add Unix builds for gmp and mpfr, downloading and configure for cgal
This commit is contained in:
parent
2cc45dbf21
commit
f94321e117
4 changed files with 27 additions and 1 deletions
9
deps/MPFR/MPFR.cmake
vendored
9
deps/MPFR/MPFR.cmake
vendored
|
@ -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 ()
|
Loading…
Add table
Add a link
Reference in a new issue