Mentions légales du service

Skip to content
Snippets Groups Projects
Commit b7c13137 authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

add ifcore lib to test a lapacke function in case ifort but not blas mkl

parent 8e21f400
No related branches found
No related tags found
No related merge requests found
......@@ -238,6 +238,8 @@ if (LAPACK_FOUND)
set(CMAKE_REQUIRED_LIBRARIES "${LAPACKE_LIBRARIES};${LAPACK_LIBRARIES};-lm")
if (CMAKE_Fortran_COMPILER MATCHES ".+gfortran.*")
list(APPEND CMAKE_REQUIRED_LIBRARIES "-lgfortran")
elseif (CMAKE_Fortran_COMPILER MATCHES ".+ifort.*")
list(APPEND CMAKE_REQUIRED_LIBRARIES "-lifcore")
endif()
set(CMAKE_REQUIRED_FLAGS "-L${LAPACKE_LIBRARY_DIRS} -L${LAPACK_LIBRARY_DIRS}")
......
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