1 --- CMakeLists.txt.orig 2010-10-15 15:35:00.000000000 +0200
2 +++ CMakeLists.txt 2010-10-19 14:16:40.792071840 +0200
4 set_config_option(HAVE_BLAS "Blas(IntelMKL)")
5 set_config_option(HAVE_LAPACK "Lapack(IntelMKL)")
7 - # on Linux also try to find ATLAS without a Fortran compiler,
8 + # on Linux also try to find lapack without a Fortran compiler,
9 # because cmake ships with a buggy FindBLAS e.g. on Ubuntu Lucid
11 - set(ATLAS_LIBS_REQUIRED lapack f77blas cblas atlas)
12 - find_all_libraries(LAPACK_LIBRARIES ATLAS_LIBS_REQUIRED "" "")
13 + set(DIST_LIBS_REQUIRED lapack blas dl)
14 + find_all_libraries(LAPACK_LIBRARIES DIST_LIBS_REQUIRED "" "")
16 - set_config_option(HAVE_BLAS "Blas(ATLAS)")
17 - set_config_option(HAVE_LAPACK "Lapack(ATLAS)")
18 + set_config_option(HAVE_BLAS "Blas(DIST)")
19 + set_config_option(HAVE_LAPACK "Lapack(DIST)")
20 endif(LAPACK_LIBRARIES)
21 endif(LAPACK_LIBRARIES)
22 elseif(${CMAKE_SYSTEM_NAME} MATCHES "SunOS")