- Notifications
You must be signed in to change notification settings - Fork 1.6k
/
Copy pathlapack-config-install.cmake.in
19 lines (15 loc) · 763 Bytes
/
lapack-config-install.cmake.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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 ANDNOTTARGET"${_LAPACK_TARGET}")
include("${_LAPACK_SELF_DIR}/@LAPACKLIB@-targets.cmake")
endif()
unset(_LAPACK_TARGET)
# Hint for project building against lapack
set(LAPACK_Fortran_COMPILER_ID "@CMAKE_Fortran_COMPILER_ID@")
# Report the blas and lapack raw or imported libraries.
set(LAPACK_blas_LIBRARIES "@BLAS_LIBRARIES@")
set(LAPACK_lapack_LIBRARIES "@LAPACK_LIBRARIES@")
set(LAPACK_LIBRARIES ${LAPACK_blas_LIBRARIES}${LAPACK_lapack_LIBRARIES})
unset(_LAPACK_SELF_DIR)