Skip to content

Commit d390d45

Browse files
committed
fixed path in installed package config files for CBLAS and LAPACKE. These did not get caught in the cleanup of installation directory names (#e64606d). Fixes #21
1 parent 7abe213 commit d390d45

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

CBLAS/cmake/cblas-config-install.cmake.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ get_filename_component(_CBLAS_PREFIX "${_CBLAS_PREFIX}" PATH)
55
get_filename_component(_CBLAS_PREFIX "${_CBLAS_PREFIX}" PATH)
66

77
# Load the LAPACK package with which we were built.
8-
set(LAPACK_DIR "${_CBLAS_PREFIX}/@{LIBRARY_DIR@/cmake/lapack-@LAPACK_VERSION@")
8+
set(LAPACK_DIR "${_CBLAS_PREFIX}/@CMAKE_INSTALL_LIBDIR@/cmake/lapack-@LAPACK_VERSION@")
99
find_package(LAPACK NO_MODULE)
1010

1111
# Load lapacke targets from the install tree.

LAPACKE/cmake/lapacke-config-install.cmake.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ get_filename_component(_LAPACKE_PREFIX "${_LAPACKE_PREFIX}" PATH)
55
get_filename_component(_LAPACKE_PREFIX "${_LAPACKE_PREFIX}" PATH)
66

77
# Load the LAPACK package with which we were built.
8-
set(LAPACK_DIR "${_LAPACKE_PREFIX}/@{LIBRARY_DIR@/cmake/lapack-@LAPACK_VERSION@")
8+
set(LAPACK_DIR "${_LAPACKE_PREFIX}/@CMAKE_INSTALL_LIBDIR@/cmake/lapack-@LAPACK_VERSION@")
99
find_package(LAPACK NO_MODULE)
1010

1111
# Load lapacke targets from the install tree.

0 commit comments

Comments
 (0)