Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
solverstack
morse_cmake
Commits
b195f3b4
Commit
b195f3b4
authored
Apr 16, 2018
by
PRUVOST Florent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
find libdl with find_library
parent
a24a413d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
modules/find/FindBLAS.cmake
modules/find/FindBLAS.cmake
+6
-1
No files found.
modules/find/FindBLAS.cmake
View file @
b195f3b4
...
...
@@ -593,7 +593,12 @@ if( (NOT BLAS_FOUND_WITH_PKGCONFIG) OR BLAS_GIVEN_BY_USER )
list
(
APPEND BLAS_CFLAGS_OTHER
"-m64"
)
endif
()
if
(
NOT BLA_VENDOR STREQUAL
"Intel10_64lp_seq"
)
list
(
APPEND OMP_LIB
"-ldl"
)
find_library
(
DL_LIBRARY
NAMES dl
HINTS
${
_libdir
}
)
list
(
APPEND OMP_LIB
"
${
DL_LIBRARY
}
"
)
endif
()
endif
()
...
...
Write
Preview
Markdown
is supported
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