Commit 42d642f3 authored by PRUVOST Florent's avatar PRUVOST Florent

FindLAPACK.cmake: fix LAPACK_LIBRARY_DIRS -> LAPACK_LIBRARIES

parent 1912729f
......@@ -211,8 +211,8 @@ endif()
# extract libs paths
# remark: because it is not given by find_package(LAPACK)
set(LAPACK_LIBRARY_DIRS "")
string(REPLACE " " ";" LAPACK_LIBRARY_DIRS "${LAPACK_LIBRARY_DIRS}")
foreach(lapack_lib ${LAPACK_LIBRARY_DIRS})
string(REPLACE " " ";" LAPACK_LIBRARIES "${LAPACK_LIBRARIES}")
foreach(lapack_lib ${LAPACK_LIBRARIES})
string(REPLACE "-L" "" lapack_lib "${lapack_lib}")
if (EXISTS "${lapack_lib}")
list(APPEND LAPACK_LIBRARY_DIRS "${lapack_lib}" )
......
Markdown is supported
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