Skip to content

Commit be80dd5

Browse files
weslleyspereiraWeslley da Silva Pereira
authored andcommitted
Applies @mgates3 patch to fix BLAS++ and LAPACK++ installation
#903 (review)
1 parent 88b485d commit be80dd5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

CMakeLists.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -625,15 +625,13 @@ if (LAPACK++)
625625
)
626626
endif()
627627

628-
if (BLAS++)
628+
if (BLAS++ OR LAPACK++)
629629
install(
630-
DIRECTORY "${LAPACK_BINARY_DIR}/lib/"
630+
DIRECTORY "${LAPACK_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}/"
631631
DESTINATION ${CMAKE_INSTALL_LIBDIR}
632632
FILES_MATCHING REGEX "blaspp"
633633
)
634-
endif()
635634

636-
if (BLAS++ OR LAPACK++)
637635
install(
638636
DIRECTORY "${LAPACK_BINARY_DIR}/include/"
639637
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}"

0 commit comments

Comments
 (0)