Skip to content

Commit 5f9e442

Browse files
Merge pull request #558 from 5tefan/5tefan-patch-1
Fix LAPACK_DIR in installed lapacke-config.cmake
2 parents 6211042 + 6da21e0 commit 5f9e442

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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}/@CMAKE_INSTALL_LIBDIR@/cmake/@LAPACK@-@LAPACK_VERSION@")
8+
set(LAPACK_DIR "${_LAPACKE_PREFIX}/@CMAKE_INSTALL_LIBDIR@/cmake/@LAPACKLIB@-@LAPACK_VERSION@")
99
find_package(LAPACK NO_MODULE)
1010

1111
# Load lapacke targets from the install tree.

0 commit comments

Comments
 (0)