Fix wrong target

This commit is contained in:
Carles Fernandez 2020-06-13 14:09:20 +02:00
parent 4383821ac0
commit e946cd0519
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
1 changed files with 1 additions and 1 deletions

View File

@ -1547,7 +1547,7 @@ if(NOT LAPACK_FOUND)
endif()
if(NOT TARGET LAPACK::LAPACK)
add_library(LAPACK::LAPACK SHARED IMPORTED)
set_target_properties(BLAS::BLAS PROPERTIES
set_target_properties(LAPACK::LAPACK PROPERTIES
IMPORTED_LOCATION ${LAPACK_LIBRARIES}
INTERFACE_LINK_LIBRARIES ${LAPACK_LIBRARIES}
)