Skip to content
Snippets Groups Projects
Commit 6691bc66 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

test for generic blas on linux

parent e907e802
No related branches found
No related tags found
No related merge requests found
......@@ -260,6 +260,14 @@ if(ENABLE_BLAS_LAPACK)
if(LAPACK_LIBRARIES)
set_config_option(HAVE_BLAS "Blas(ATLAS)")
set_config_option(HAVE_LAPACK "Lapack(ATLAS)")
else(LAPACK_LIBRARIES)
# try with generic names
set(GENERIC_LIBS_REQUIRED lapack blas pthread)
find_all_libraries(LAPACK_LIBRARIES GENERIC_LIBS_REQUIRED "" "")
if(LAPACK_LIBRARIES)
set_config_option(HAVE_BLAS "Blas(Generic)")
set_config_option(HAVE_LAPACK "Lapack(Generic)")
endif(LAPACK_LIBRARIES)
endif(LAPACK_LIBRARIES)
endif(LAPACK_LIBRARIES)
elseif(${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment