Skip to content
Snippets Groups Projects
Commit a37a9e4a authored by Tom Fischer's avatar Tom Fischer
Browse files

Merge pull request #82 from norihiro-w/fix-blas-link-error

fix errors that BLAS and LAPACL lib are not linked in MathLib
parents 14f2247a 5345a46e
No related branches found
No related tags found
No related merge requests found
......@@ -58,6 +58,10 @@ ADD_LIBRARY( MathLib STATIC ${SOURCES} )
SET_TARGET_PROPERTIES(MathLib PROPERTIES LINKER_LANGUAGE CXX)
IF (LAPACK_FOUND)
TARGET_LINK_LIBRARIES ( MathLib ${BLAS_LIBRARIES} ${LAPACK_LIBRARIES})
ENDIF()
IF (LIS_FOUND)
TARGET_LINK_LIBRARIES( MathLib ${LIS_LIBRARIES} )
ENDIF()
......
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