updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / gmsh / CMakeLists.txt.patch
blob6a57fd36cb12d3f411e86e9f7b90aebac3788430
1 --- CMakeLists.txt.orig 2010-10-15 15:35:00.000000000 +0200
2 +++ CMakeLists.txt 2010-10-19 14:16:40.792071840 +0200
3 @@ -221,14 +221,14 @@
4 set_config_option(HAVE_BLAS "Blas(IntelMKL)")
5 set_config_option(HAVE_LAPACK "Lapack(IntelMKL)")
6 else(LAPACK_LIBRARIES)
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
10 # Lynx
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 "" "")
15 if(LAPACK_LIBRARIES)
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")