"Fossies" - the Fresh Open Source Software Archive

Member "lapack-3.9.1/CBLAS/cmake/cblas-config-install.cmake.in" (25 Mar 2021, 853 Bytes) of package /linux/misc/lapack-3.9.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "cblas-config-install.cmake.in": 3.9.0_vs_3.9.1.

    1 # Compute locations from <prefix>/@{LIBRARY_DIR@/cmake/lapacke-<v>/<self>.cmake
    2 get_filename_component(_CBLAS_SELF_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
    3 get_filename_component(_CBLAS_PREFIX "${_CBLAS_SELF_DIR}" PATH)
    4 get_filename_component(_CBLAS_PREFIX "${_CBLAS_PREFIX}" PATH)
    5 get_filename_component(_CBLAS_PREFIX "${_CBLAS_PREFIX}" PATH)
    6 
    7 # Load the LAPACK package with which we were built.
    8 set(LAPACK_DIR "${_CBLAS_PREFIX}/@CMAKE_INSTALL_LIBDIR@/cmake/@LAPACKLIB@-@LAPACK_VERSION@")
    9 find_package(LAPACK NO_MODULE)
   10 
   11 # Load lapacke targets from the install tree.
   12 if(NOT TARGET @CBLASLIB@)
   13   include(${_CBLAS_SELF_DIR}/@CBLASLIB@-targets.cmake)
   14 endif()
   15 
   16 # Report lapacke header search locations.
   17 set(CBLAS_INCLUDE_DIRS ${_CBLAS_PREFIX}/include)
   18 
   19 # Report lapacke libraries.
   20 set(CBLAS_LIBRARIES @CBLASLIB@)
   21 
   22 unset(_CBLAS_PREFIX)
   23 unset(_CBLAS_SELF_DIR)