• Home
  • Raw
  • Download

Lines Matching full:libraries

15 #  LAPACK_LIBRARIES_DIR - Directories containing the LAPACK libraries.
16 # May be null if LAPACK_LIBRARIES contains libraries name using full path.
17 # LAPACK_LIBRARIES - List of libraries to link against LAPACK interface.
20 # applications or libraries using LAPACK.
23 # - find libraries for a C++ compiler, instead of Fortran
31 # This macro checks for the existence of the combination of fortran libraries
35 # flags given by _flags. If the combination of libraries is found and passes
36 # the link test, LIBRARIES is set to the list of complete library paths that
38 # Otherwise, LIBRARIES is set to FALSE.
41 macro(check_lapack_libraries DEFINITIONS LIBRARIES _prefix _name _flags _list _blas _path)
44 # Check for the existence of the libraries given by _list
48 set(${LIBRARIES} "")
77 set(${LIBRARIES} ${${LIBRARIES}} ${${_prefix}_${_library}_LIBRARY})
82 set(_libraries_found ${${LIBRARIES}})
85 # Test this combination of libraries with the Fortran/f2c interface.
89 set(${LIBRARIES} ${_libraries_found})
90 # Some C++ linkers require the f2c library to link with Fortran libraries.
95 set(${LIBRARIES} ${${LIBRARIES}} ${F2C_LIBRARIES})
98 set(CMAKE_REQUIRED_LIBRARIES ${_flags} ${${LIBRARIES}} ${_blas})
109 # If not found, test this combination of libraries with a C interface.
113 set(${LIBRARIES} ${_libraries_found})
115 set(CMAKE_REQUIRED_LIBRARIES ${_flags} ${${LIBRARIES}} ${_blas})
126 set(${LIBRARIES} FALSE)
129 #message("DEBUG: ${LIBRARIES} = ${${LIBRARIES}}")
164 # If Unix, search for LAPACK function in possible libraries
263 CACHE FILEPATH "LAPACK libraries name" FORCE )
265 CACHE PATH "Directories containing the LAPACK libraries" FORCE )