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()
|
endif()
|
||||||
if (LAPACK_TYPE MATCHES MKL OR
|
if (LAPACK_TYPE MATCHES MKL OR
|
||||||
BLAS_TYPE MATCHES MKL)
|
BLAS_TYPE MATCHES MKL)
|
||||||
# fix for MKL static linking (-lc not needed for PGI)
|
# fix for MKL static linking
|
||||||
# radovan: why is -lc added also for PGI? when exactly is it needed?
|
set(MATH_LIBS ${MATH_LIBS} -ldl)
|
||||||
set(MATH_LIBS ${MATH_LIBS} -ldl -lc)
|
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user