Commit Graph

13 Commits

Author SHA1 Message Date
Laurent Rineau 3f3f5b1a52 Do not rely on CMAKE_MODULE_PATH 2017-11-15 14:45:12 +01:00
Laurent Rineau c1fff72997 Revert that commit, which was wrong (see below):
| ------------------------------------------------------------------------
  | r65557 | lrineau | 2011-09-26 16:49:02 +0200 (Mon, 26 Sep 2011) | 9 lines
  | Changed paths:
  |    M /branches/next/Installation/cmake/modules/CGAL_UseBLAS.cmake
  |    M /branches/next/Installation/cmake/modules/CGAL_UseLAPACK.cmake
  |    M /branches/next/Installation/cmake/modules/FindBLAS.cmake
  |    M /branches/next/Installation/cmake/modules/FindLAPACK.cmake
  |    M /branches/next/Installation/doc_tex/Installation/installation.tex
  | 
  | BLAS and LAPACK do not have header files.
  | 
  | One implementation of BLAS or LAPACK can have a header file, but that is
  | not mandatory for an implementation, and (hopefully) nothing in CGAL tries
  | to include a blas.h or a lapack.h.
  | 
  | The current revision removes mentions of BLAS_INCLUDE_DIR and
  | LAPACK_INCLUDE_DIR in CGAL cmake scripts about BLAS and LAPACK.
  | 
  |
  ------------------------------------------------------------------------

Reason:

  For the implementation cblas/clapack, our use of that implementation does
  need a header <blaswrap.h> to work.
2011-10-13 10:17:16 +00:00
Laurent Rineau 9a21d66104 BLAS and LAPACK do not have header files.
One implementation of BLAS or LAPACK can have a header file, but that is
not mandatory for an implementation, and (hopefully) nothing in CGAL tries
to include a blas.h or a lapack.h.

The current revision removes mentions of BLAS_INCLUDE_DIR and
LAPACK_INCLUDE_DIR in CGAL cmake scripts about BLAS and LAPACK.
2011-09-26 14:49:02 +00:00
Laurent Saboret c7f102ece4 Bug fix: fixed MKL support in FindBLAS.cmake and FindLAPACK.cmake 2009-10-01 10:36:15 +00:00
Fernando Cacciola 4a4d927522 Moved cmake modules back (2/3) 2008-11-27 16:36:00 +00:00
Fernando Cacciola 2d5b17b9f4 renamed cmake/modules to lib/CGAL-3.4 (0/1) 2008-11-04 16:00:57 +00:00
Laurent Saboret c99c1ce981 Fixed usage of LAPACK_LINKER_FLAGS (see r46659) 2008-11-04 14:37:39 +00:00
Fernando Cacciola d597b8c40b Separate defintions from flags 2008-11-04 13:25:05 +00:00
Fernando Cacciola 145ee41079 Prefixed CGAL cmake modules with CGAL_ 2008-11-04 12:49:32 +00:00
Laurent Saboret 419684e402 Improved BLAS/LAPACK/TAUCS support:
- use a C++ compiler instead of a Fortran one
- compatible with CMake 2.4
2008-11-03 17:46:30 +00:00
Laurent Saboret 164adfb71d Fixed bug: AUTO_LINK_ENABLED was renamed CGAL_AUTO_LINK_ENABLED 2008-10-28 12:47:45 +00:00
Laurent Saboret 0bbfad9e5c Merge of Fernando's CMake files for BLAS/LAPACK/TAUCS with the original
FindBLAS.cmake and FindLAPACK.cmake in CMake 2.6.
The result is more or less equivalent to install_cgal's behavior.
TODO:
- use a C++ compiler instead of a Fortran one
- try to be compatible with CMake 2.4
- find CBLAS (http://www.netlib.org/cblas)?

Jet_fitting_3 and Surface_mesh_parameterization compile now with CMake
(tested on Linux/gcc and Windows/VC++ 2005).
2008-10-23 16:29:42 +00:00
Fernando Cacciola 484ae74ae3 Added BLAS/LAPACK and TAUCS support 2008-10-17 18:13:17 +00:00