Skip to content

Commit 6da21e0

Browse files
authored
Fix LAPACK_DIR in installed lapacke-config.cmake
Fixes #550: on fresh install with version 3.9.1, the line in lapacke-config.cmake is: set(LAPACK_DIR "${_LAPACKE_PREFIX}/lib/cmake/-3.9.1") And it should be: set(LAPACK_DIR "${_LAPACKE_PREFIX}/lib/cmake/lapack-3.9.1")
1 parent 6211042 commit 6da21e0

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)