15 lines
452 B
15 lines
452 B
2 years ago
|
# Load the LAPACK package with which we were built.
|
||
|
set(LAPACK_DIR "@LAPACK_BINARY_DIR@")
|
||
|
find_package(LAPACK NO_MODULE)
|
||
|
|
||
|
# Load lapack targets from the build tree, including lapacke targets.
|
||
|
if(NOT TARGET lapacke)
|
||
|
include("@LAPACK_BINARY_DIR@/@LAPACKLIB@-targets.cmake")
|
||
|
endif()
|
||
|
|
||
|
# Report cblas header search locations from build tree.
|
||
|
set(CBLAS_INCLUDE_DIRS "@LAPACK_BINARY_DIR@/include")
|
||
|
|
||
|
# Report cblas libraries.
|
||
|
set(CBLAS_LIBRARIES @CBLASLIB@)
|