Add new option DEP_DOWNLOAD_DIR and go with URLs everywhere

This commit is contained in:
tamasmeszaros 2021-03-23 19:01:18 +01:00
parent 76ec61441e
commit ac51a7c3d1
15 changed files with 65 additions and 45 deletions

3
deps/GMP/GMP.cmake vendored
View file

@ -43,8 +43,9 @@ else ()
endif ()
ExternalProject_Add(dep_GMP
# URL https://gmplib.org/download/gmp/gmp-6.1.2.tar.bz2
URL https://gmplib.org/download/gmp/gmp-6.2.1.tar.bz2
URL_HASH SHA256=eae9326beb4158c386e39a356818031bd28f3124cf915f8c5b1dc4c7a36b4d7c
DOWNLOAD_DIR ${DEP_DOWNLOAD_DIR}/GMP
BUILD_IN_SOURCE ON
CONFIGURE_COMMAND env "CFLAGS=${_gmp_ccflags}" "CXXFLAGS=${_gmp_ccflags}" ./configure ${_cross_compile_arg} --enable-shared=no --enable-cxx=yes --enable-static=yes "--prefix=${DESTDIR}/usr/local" ${_gmp_build_tgt}
BUILD_COMMAND make -j