Fixes armadillo building when it is not already installed in the system and has to be linked statically

git-svn-id: https://svn.code.sf.net/p/gnss-sdr/code/trunk@425 64b25241-fba3-4117-9849-534c7e92360d
This commit is contained in:
Carles Fernandez 2013-10-19 13:26:48 +00:00
parent 31f275958c
commit 256bff8d18
1 changed files with 1 additions and 2 deletions

View File

@ -397,8 +397,7 @@ if(NOT ARMADILLO_FOUND)
URL http://sourceforge.net/projects/arma/files/armadillo-${armadillo_RELEASE}.tar.gz
DOWNLOAD_DIR ${CMAKE_CURRENT_BINARY_DIR}/download/armadillo-${armadillo_RELEASE}
URL_MD5 ${armadillo_MD5}
PATCH_COMMAND patch -N <BINARY_DIR>/CMakeLists.txt ${ARMADILLO_PATCH_FILE}
CONFIGURE_COMMAND <BINARY_DIR>/configure --prefix=${CMAKE_CURRENT_BINARY_DIR}/armadillo-${armadillo_RELEASE}
PATCH_COMMAND patch -N <BINARY_DIR>/CMakeLists.txt ${ARMADILLO_PATCH_FILE}
BUILD_IN_SOURCE 1
BUILD_COMMAND make
UPDATE_COMMAND ""