diff --git a/cmake/template/DLAFConfig.cmake.in b/cmake/template/DLAFConfig.cmake.in index ef33e5599a..8c724ef809 100644 --- a/cmake/template/DLAFConfig.cmake.in +++ b/cmake/template/DLAFConfig.cmake.in @@ -88,6 +88,7 @@ else() if(DLAF_WITH_SCALAPACK) set(SCALAPACK_LIBRARY "@SCALAPACK_LIBRARY@") find_dependency(SCALAPACK) + add_library(DLAF::SCALAPACK INTERFACE IMPORTED GLOBAL) endif() endif()