Print Armadillo version if found in the summary report

This commit is contained in:
Carles Fernandez 2019-06-16 00:16:52 +02:00
parent e2d583a442
commit e574ecdccf
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
1 changed files with 3 additions and 0 deletions

View File

@ -1337,6 +1337,9 @@ set_package_properties(Armadillo PROPERTIES
TYPE REQUIRED
)
if(ARMADILLO_FOUND)
set_package_properties(Armadillo PROPERTIES
DESCRIPTION "C++ library for linear algebra and scientific computing (found: v${ARMADILLO_VERSION_STRING})"
)
if(${ARMADILLO_VERSION_STRING} VERSION_LESS ${GNSSSDR_ARMADILLO_MIN_VERSION})
set(ARMADILLO_FOUND false)
set(ENABLE_OWN_ARMADILLO true)