You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- # Compute locations from <prefix>/@{LIBRARY_DIR@/cmake/lapacke-<v>/<self>.cmake
- get_filename_component(_CBLAS_SELF_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
- get_filename_component(_CBLAS_PREFIX "${_CBLAS_SELF_DIR}" PATH)
- get_filename_component(_CBLAS_PREFIX "${_CBLAS_PREFIX}" PATH)
- get_filename_component(_CBLAS_PREFIX "${_CBLAS_PREFIX}" PATH)
-
- # Load the LAPACK package with which we were built.
- set(LAPACK_DIR "${_CBLAS_PREFIX}/@CMAKE_INSTALL_LIBDIR@/cmake/@LAPACKLIB@-@LAPACK_VERSION@")
- find_package(LAPACK NO_MODULE)
-
- # Load lapacke targets from the install tree.
- if(NOT TARGET @CBLASLIB@)
- include(${_CBLAS_SELF_DIR}/@CBLASLIB@-targets.cmake)
- endif()
-
- # Report lapacke header search locations.
- set(CBLAS_INCLUDE_DIRS ${_CBLAS_PREFIX}/include)
-
- # Report lapacke libraries.
- set(CBLAS_LIBRARIES @CBLASLIB@)
-
- unset(_CBLAS_PREFIX)
- unset(_CBLAS_SELF_DIR)
|