15 lines
452 B
CMake
15 lines
452 B
CMake
# 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@/lapack-targets.cmake")
|
|
endif()
|
|
|
|
# Report lapacke header search locations from build tree.
|
|
set(LAPACKE_INCLUDE_DIRS "@LAPACK_BINARY_DIR@/include")
|
|
|
|
# Report lapacke libraries.
|
|
set(LAPACKE_LIBRARIES lapacke)
|