summaryrefslogtreecommitdiff
path: root/CMAKE/lapack-config-install.cmake.in
blob: 4e04f8711578395ecbeb0fa5bdb99f587ad38b6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Compute locations from <prefix>/lib/cmake/lapack-<v>/<self>.cmake
get_filename_component(_LAPACK_SELF_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)

# Load lapack targets from the install tree if necessary.
set(_LAPACK_TARGET "@_lapack_config_install_guard_target@")
if(_LAPACK_TARGET AND NOT TARGET "${_LAPACK_TARGET}")
  include("${_LAPACK_SELF_DIR}/lapack-targets.cmake")
endif()
unset(_LAPACK_TARGET)

# Report the blas and lapack raw or imported libraries.
set(LAPACK_blas_LIBRARIES "@BLAS_LIBRARIES@")
set(LAPACK_lapack_LIBRARIES "@LAPACK_LIBRARIES@")

unset(_LAPACK_SELF_DIR)