Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
solverstack
ScalFMM
Commits
42d642f3
Commit
42d642f3
authored
May 23, 2016
by
PRUVOST Florent
Browse files
FindLAPACK.cmake: fix LAPACK_LIBRARY_DIRS -> LAPACK_LIBRARIES
parent
1912729f
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeModules/morse/find/FindLAPACKEXT.cmake
View file @
42d642f3
...
...
@@ -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_LIBRAR
Y_DIR
S
"
${
LAPACK_LIBRAR
Y_DIR
S
}
"
)
foreach
(
lapack_lib
${
LAPACK_LIBRAR
Y_DIR
S
}
)
string
(
REPLACE
" "
";"
LAPACK_LIBRAR
IE
S
"
${
LAPACK_LIBRAR
IE
S
}
"
)
foreach
(
lapack_lib
${
LAPACK_LIBRAR
IE
S
}
)
string
(
REPLACE
"-L"
""
lapack_lib
"
${
lapack_lib
}
"
)
if
(
EXISTS
"
${
lapack_lib
}
"
)
list
(
APPEND LAPACK_LIBRARY_DIRS
"
${
lapack_lib
}
"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment