Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
solverstack
morse_cmake
Compare Revisions
a24a413d1eb9f35be5328589cb69ecddddf24854...b195f3b4d00be3e191e4f7feef7a7702e2b5a52d
Commits (1)
find libdl with find_library
· b195f3b4
PRUVOST Florent
authored
Apr 16, 2018
b195f3b4
Show whitespace changes
Inline
Side-by-side
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
()
...
...