CBLAS/cmake/cblas-config-build.cmake.in
raw| 1 | # Load the LAPACK package with which we were built. |
| 2 | set(LAPACK_DIR "@LAPACK_BINARY_DIR@") |
| 3 | find_package(LAPACK NO_MODULE) |
| 4 | |
| 5 | # Load lapack targets from the build tree, including lapacke targets. |
| 6 | if(NOT TARGET lapacke) |
| 7 | include("@LAPACK_BINARY_DIR@/@[email protected]") |
| 8 | endif() |
| 9 | |
| 10 | # Report cblas header search locations from build tree. |
| 11 | set(CBLAS_INCLUDE_DIRS "@LAPACK_BINARY_DIR@/include") |
| 12 | |
| 13 | # Report cblas libraries. |
| 14 | set(CBLAS_LIBRARIES @CBLASLIB@) |