diff options
author | julie <julielangou@users.noreply.github.com> | 2011-04-20 23:13:17 +0000 |
---|---|---|
committer | julie <julielangou@users.noreply.github.com> | 2011-04-20 23:13:17 +0000 |
commit | 13397e1419d91674a5338397757a00293d676447 (patch) | |
tree | 40ceaae4167de91cc4735b3240858436b88fc064 /SRC | |
parent | fbf8f2f4ea23fc98b65d3516ed90756e638c5c59 (diff) | |
download | lapack-13397e1419d91674a5338397757a00293d676447.tar.gz lapack-13397e1419d91674a5338397757a00293d676447.tar.bz2 lapack-13397e1419d91674a5338397757a00293d676447.zip |
Apply Sebastien Fabbro patch for the cmake build.
"Two more fixes for the cmake files of lapack-3.3.1:
1) syntax consistency for BLAS_LIBRARIES
2) link lapack with xblas when xblas is enabled"
Diffstat (limited to 'SRC')
-rw-r--r-- | SRC/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SRC/CMakeLists.txt b/SRC/CMakeLists.txt index 4cbfff1a..8355e3dc 100644 --- a/SRC/CMakeLists.txt +++ b/SRC/CMakeLists.txt @@ -373,7 +373,7 @@ set(ZXLASRC zgesvxx.f zgerfsx.f zla_gerfsx_extended.f zla_geamv.f zla_lin_berr.f zlarscl2.f zlascl2.f zla_wwaddw.f) -if( USEXBLAS) +if( USE_XBLAS) set(ALLXOBJ ${SXLASRC} ${DXLASRC} ${CXLASRC} ${ZXLASRC} ${ALLXAUX}) endif() @@ -392,5 +392,5 @@ if(BUILD_COMPLEX16) set(ALLOBJ ${ZLASRC} ${ALLAUX} ${DZLAUX} ${ZCLASRC}) endif() add_library(lapack ${ALLOBJ} ${ALLXOBJ}) -target_link_libraries(lapack ${BLAS_LIBRARIES}) +target_link_libraries(lapack ${BLAS_LIBRARIES} ${XBLAS_LIBRARY}) lapack_install_library(lapack) |