Use HTTPS for auto-downloaded dependencies.
This commit is contained in:
+3
-3
@@ -298,7 +298,7 @@ else()
|
||||
message(FATAL_ERROR "Can not find BLAS or LAPACK! These are required for Armadillo. Please install one of them---or install Armadillo---before installing mlpack.")
|
||||
endif()
|
||||
endif()
|
||||
get_deps(http://files.mlpack.org/armadillo-10.3.0.tar.gz armadillo armadillo-10.3.0.tar.gz)
|
||||
get_deps(https://files.mlpack.org/armadillo-10.3.0.tar.gz armadillo armadillo-10.3.0.tar.gz)
|
||||
set(ARMADILLO_INCLUDE_DIR ${GENERIC_INCLUDE_DIR})
|
||||
find_package(Armadillo REQUIRED)
|
||||
endif()
|
||||
@@ -313,7 +313,7 @@ if (NOT DOWNLOAD_DEPENDENCIES)
|
||||
else()
|
||||
find_package(StbImage)
|
||||
if (NOT STB_IMAGE_FOUND)
|
||||
get_deps(http://mlpack.org/files/stb.tar.gz stb stb.tar.gz)
|
||||
get_deps(https://mlpack.org/files/stb.tar.gz stb stb.tar.gz)
|
||||
set(STB_IMAGE_INCLUDE_DIR ${GENERIC_INCLUDE_DIR})
|
||||
find_package(StbImage REQUIRED)
|
||||
endif()
|
||||
@@ -339,7 +339,7 @@ if (NOT DOWNLOAD_DEPENDENCIES)
|
||||
else()
|
||||
find_package(Ensmallen "${ENSMALLEN_VERSION}")
|
||||
if (NOT ENSMALLEN_FOUND)
|
||||
get_deps(http://www.ensmallen.org/files/ensmallen-latest.tar.gz ensmallen ensmallen-latest.tar.gz)
|
||||
get_deps(https://www.ensmallen.org/files/ensmallen-latest.tar.gz ensmallen ensmallen-latest.tar.gz)
|
||||
set(ENSMALLEN_INCLUDE_DIR ${GENERIC_INCLUDE_DIR})
|
||||
find_package(Ensmallen REQUIRED)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user