Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 073fe730 authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

Remove the required on cblas/lapacke packages

parent 1813920a
No related branches found
No related tags found
1 merge request!7Factorize the extended laplacian code
......@@ -114,18 +114,16 @@ include(CheckSystem)
# SPM depends on Lapacke and CBLAS
#---------------------------------
find_package(LAPACKE REQUIRED)
if(LAPACKE_FOUND)
message(STATUS "lapacke: ${LAPACKE_INCLUDE_DIRS}")
include_directories(${LAPACKE_INCLUDE_DIRS})
endif()
find_package(CBLAS REQUIRED)
find_package(CBLAS) # Should be REQUIRED for BLAS sequential only
if(CBLAS_FOUND)
message(STATUS "cblas: ${CBLAS_INCLUDE_DIRS}")
include_directories(${CBLAS_INCLUDE_DIRS})
endif()
find_package(LAPACKE) # Should be also REQUIRED
if(LAPACKE_FOUND)
include_directories(${LAPACKE_INCLUDE_DIRS})
endif()
### Store dependencies not handled with pkg-config
set( DEPS_LIBRARIES
${LAPACKE_LIBRARIES_DEP}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment