Merge pull request #104 from miroi/patch-4
math_libs.cmake: remove "-lc" linking flag, not necessary
This commit is contained in:
commit
c41c10bf9c
@ -509,8 +509,7 @@ if (ENABLE_STATIC_LINKING)
|
||||
endif()
|
||||
if (LAPACK_TYPE MATCHES MKL OR
|
||||
BLAS_TYPE MATCHES MKL)
|
||||
# fix for MKL static linking (-lc not needed for PGI)
|
||||
# radovan: why is -lc added also for PGI? when exactly is it needed?
|
||||
set(MATH_LIBS ${MATH_LIBS} -ldl -lc)
|
||||
# fix for MKL static linking
|
||||
set(MATH_LIBS ${MATH_LIBS} -ldl)
|
||||
endif()
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user