From ec84f8816948689b7d5238c9e4f5498ab2e14c45 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Thu, 29 May 2014 08:29:01 +0000 Subject: [PATCH] old-style petsc install will have blas/lapack --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4c6bb65e9f..5ef76c2720 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -914,6 +914,12 @@ if(HAVE_SOLVER) endif(NOT PETSC_LIBS) if(PETSC_LIBS) set_config_option(HAVE_PETSC "PETSc") + if(NOT HAVE_BLAS) + set_config_option(HAVE_BLAS "Blas(PETSc)") + endif(NOT HAVE_BLAS) + if(NOT HAVE_LAPACK) + set_config_option(HAVE_LAPACK "Lapack(PETSc)") + endif(NOT HAVE_LAPACK) endif(PETSC_LIBS) # find slepc (needs to be linked in before petsc) if(ENABLE_SLEPC) -- GitLab