Home | History | Annotate | Download | only in cmake

Lines Matching full:libraries

5 # The list of libraries searched for is mainly taken
16 # BLAS_LIBRARIES_DIR - Directories containing the BLAS libraries.
17 # May be null if BLAS_LIBRARIES contains libraries name using full path.
18 # BLAS_LIBRARIES - List of libraries to link against BLAS interface.
21 # applications or libraries using BLAS.
24 # - 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_fortran_libraries DEFINITIONS LIBRARIES _prefix _name _flags _list _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}})
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}})
126 set(${LIBRARIES} FALSE)
129 #message("DEBUG: ${LIBRARIES} = ${${LIBRARIES}}")
152 # If Unix, search for BLAS function in possible libraries
168 # BLAS in PhiPACK libraries? (requires generic BLAS lib, too)
408 CACHE FILEPATH "BLAS libraries name" FORCE )
410 CACHE PATH "Directories containing the BLAS libraries" FORCE )