From c85efa7473d9fedefd84681c7e98b2600c54041e Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Sat, 7 Jun 2014 10:23:32 +0200 Subject: [PATCH] Cosmetic changes --- CMakeLists.txt | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2af122fcd..5c535a3ee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -559,6 +559,9 @@ endif(DOXYGEN_FOUND) ################################################################################ if(OS_IS_LINUX) + ############################################# + # Check that LAPACK is found in the system + ############################################# find_library(LAPACK lapack) if(NOT LAPACK) message(" The LAPACK library has not been found.") @@ -572,9 +575,10 @@ if(OS_IS_LINUX) endif(${LINUX_DISTRIBUTION} MATCHES "Fedora" OR ${LINUX_DISTRIBUTION} MATCHES "Red Hat") message(FATAL_ERROR "LAPACK is required to build gnss-sdr") endif(NOT LAPACK) - if(NOT BLAS) - find_library(BLAS blas) - endif(NOT BLAS) + ############################################# + # Check that BLAS is found in the system + ############################################# + find_library(BLAS blas) if(NOT BLAS) message(" The BLAS library has not been found.") message(" You can try to install it by typing:") @@ -585,6 +589,9 @@ if(OS_IS_LINUX) endif(${LINUX_DISTRIBUTION} MATCHES "Fedora" OR ${LINUX_DISTRIBUTION} MATCHES "Red Hat") message(FATAL_ERROR "BLAS is required to build gnss-sdr") endif(NOT BLAS) + ############################################# + # Check that GFORTRAN is found in the system + ############################################# find_library(GFORTRAN NAMES gfortran PATHS /usr/lib /usr/local/lib