mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-04-29 14:13:11 +00:00
Armadillo has moved to GitHub
This commit is contained in:
parent
dd5a850360
commit
73d33640f0
@ -884,24 +884,15 @@ if(NOT ARMADILLO_FOUND OR ENABLE_OWN_ARMADILLO)
|
|||||||
message(STATUS " Armadillo has not been found.")
|
message(STATUS " Armadillo has not been found.")
|
||||||
message(STATUS " Armadillo will be downloaded and built automatically")
|
message(STATUS " Armadillo will be downloaded and built automatically")
|
||||||
message(STATUS " when doing 'make'. ")
|
message(STATUS " when doing 'make'. ")
|
||||||
|
set(armadillo_BRANCH 7.800.x)
|
||||||
if(CMAKE_VERSION VERSION_LESS 3.1)
|
set(armadillo_RELEASE ${armadillo_BRANCH})
|
||||||
# ExternalProject in CMake > 3.1 cannot open .xz files
|
|
||||||
set(armadillo_RELEASE 6.700.7)
|
|
||||||
set(armadillo_MD5 "8116185e1d7391eed3bf6c500f81b4d8")
|
|
||||||
set(ARMA_FILE_EXTENSION "gz")
|
|
||||||
else(CMAKE_VERSION VERSION_LESS 3.1)
|
|
||||||
set(armadillo_RELEASE 7.800.2)
|
|
||||||
set(armadillo_MD5 "c601f3a5ec6d50666aa3a539fa20e6ca")
|
|
||||||
set(ARMA_FILE_EXTENSION "xz")
|
|
||||||
endif(CMAKE_VERSION VERSION_LESS 3.1)
|
|
||||||
|
|
||||||
ExternalProject_Add(
|
ExternalProject_Add(
|
||||||
armadillo-${armadillo_RELEASE}
|
armadillo-${armadillo_RELEASE}
|
||||||
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/armadillo-${armadillo_RELEASE}
|
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/armadillo-${armadillo_RELEASE}
|
||||||
URL http://sourceforge.net/projects/arma/files/armadillo-${armadillo_RELEASE}.tar.${ARMA_FILE_EXTENSION}
|
GIT_REPOSITORY https://github.com/conradsnicta/armadillo-code.git
|
||||||
DOWNLOAD_DIR ${CMAKE_CURRENT_BINARY_DIR}/download/armadillo-${armadillo_RELEASE}
|
GIT_TAG ${armadillo_BRANCH}
|
||||||
URL_MD5 ${armadillo_MD5}
|
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/armadillo/armadillo-${armadillo_RELEASE}
|
||||||
CMAKE_ARGS -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} -DBUILD_SHARED_LIBS=OFF
|
CMAKE_ARGS -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} -DBUILD_SHARED_LIBS=OFF
|
||||||
BUILD_IN_SOURCE 1
|
BUILD_IN_SOURCE 1
|
||||||
BUILD_COMMAND make
|
BUILD_COMMAND make
|
||||||
@ -1314,4 +1305,3 @@ add_custom_target(uninstall
|
|||||||
# Add subdirectories (in order of deps)
|
# Add subdirectories (in order of deps)
|
||||||
########################################################################
|
########################################################################
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user