Fix qe_lapack target.

This commit is contained in:
Ye Luo 2020-09-30 22:20:03 -05:00
parent bb3b8cf8b4
commit ef9b9fb4c7
1 changed files with 4 additions and 0 deletions

View File

@ -215,6 +215,10 @@ if(NOT VENDOR_FOUND)
# explicitly (hoping in some helpful message)
find_package(LAPACK REQUIRED)
endif()
else()
target_link_libraries(qe_lapack
INTERFACE
${LAPACK_LIBRARIES} ${BLAS_LIBRARIES})
endif()
###########################################################