From 9195541104f3861ddea468bfd1be8fe6a38e847a Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sun, 14 Jul 2013 07:13:49 +0000 Subject: [PATCH] --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c95f2a83ba..c6e9035b63 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -311,7 +311,7 @@ if(ENABLE_BLAS_LAPACK) set_config_option(HAVE_BLAS "Blas(VecLib)") set_config_option(HAVE_LAPACK "Lapack(VecLib)") endif(MSVC) - if(BUILD_ANDROID) + if(ENABLE_BUILD_ANDROID) find_library(BLAS_LIB f2cblas PATH_SUFFIXES lib) find_library(LAPACK_LIB f2clapack PATH_SUFFIXES lib) if(BLAS_LIB) @@ -322,7 +322,7 @@ if(ENABLE_BLAS_LAPACK) list(APPEND EXTERNAL_LIBRARIES ${LAPACK_LIB}) set_config_option(HAVE_LAPACK "Lapack") endif(LAPACK_LIB) - endif(BUILD_ANDROID) + endif(ENABLE_BUILD_ANDROID) if(NOT HAVE_BLAS OR NOT HAVE_LAPACK) # if we haven't found blas and lapack without using the standard # cmake tests, do it (this requires a working Fortran compiler) -- GitLab