Commit fd40ab08 authored by Mike Kremer's avatar Mike Kremer
Browse files

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@4838 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 330c3c40
......@@ -29,6 +29,9 @@ TAUCS_PATH_LIB = /sw/lib
CGAL_PATH_INC = /usr/include/CGAL/
CGAL_PATH_LIB = /usr/lib
# blas
BLAS_PATH_LIB = /usr/lib
# lapack
LAP_PATH_INC = /sw/include
LAP_PATH_LIB = /sw/lib
......@@ -121,7 +124,7 @@ defineTest( superlu ) {
LIBS += /sw/lib/libsuperlu.a
export(LIBS)
INCLUDEPATH *= $${SLU_PATH_INC}
export(INCLUDEPATH)
export(INCLUDEPATH)
return(true)
......@@ -181,17 +184,34 @@ defineTest( cgal ) {
return(false)
}
defineTest( blas ) {
addLib( /usr/lib /sw/lib $${BLAS_PATH_LIB}, blas) {
return(true)
} else {
message ( WARNING: blas library files not found! )
}
return(false)
}
defineTest( lapack ) {
exists ( $${LAP_PATH_INC} ) {
addLib ( /usr/lib /sw/lib $${LAP_PATH_LIB}, lapack ) {
blas()
LIBS *= $${LAP_PATH_LIB}/liblapack.a
export(LIBS)
INCLUDEPATH *= $${LAP_PATH_INC}
export(INCLUDEPATH)
return(true)
}
} else {
message ( WARNING: lapack header files not found! )
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment