From 7f2c6228757743b017a8c6cafcdeedb4fd6b1826 Mon Sep 17 00:00:00 2001 From: Weslley S Pereira Date: Sun, 12 Nov 2023 10:32:44 -0700 Subject: [PATCH] Applies @mgates3 patch to fix BLAS++ and LAPACK++ installation https://github.com/Reference-LAPACK/lapack/pull/903#pullrequestreview-1726137959 --- CMakeLists.txt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 17609c05d8..89db6a8663 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -633,21 +633,19 @@ install(FILES if (LAPACK++) install( - DIRECTORY "${LAPACK_BINARY_DIR}/lib/" + DIRECTORY "${LAPACK_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}/" DESTINATION ${CMAKE_INSTALL_LIBDIR} FILES_MATCHING REGEX "lapackpp" ) endif() -if (BLAS++) +if (BLAS++ OR LAPACK++) install( - DIRECTORY "${LAPACK_BINARY_DIR}/lib/" + DIRECTORY "${LAPACK_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}/" DESTINATION ${CMAKE_INSTALL_LIBDIR} FILES_MATCHING REGEX "blaspp" ) -endif() -if (BLAS++ OR LAPACK++) install( DIRECTORY "${LAPACK_BINARY_DIR}/include/" DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}"