From 7a5ac850c4818f0fe636725592cb4ade6ad3ba6f Mon Sep 17 00:00:00 2001
From: Anonymous <>
Date: Tue, 27 Jan 2026 00:00:00 +0000
Subject: [PATCH 3/9] Import BLAS libs in a more modern way: replace
 `${BLAS_LIBRARIES}` with `BLAS::BLAS`.

---
 ggml/src/ggml-blas/CMakeLists.txt | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/ggml/src/ggml-blas/CMakeLists.txt b/ggml/src/ggml-blas/CMakeLists.txt
index c27dc174..73805908 100644
--- a/ggml/src/ggml-blas/CMakeLists.txt
+++ b/ggml/src/ggml-blas/CMakeLists.txt
@@ -92,8 +92,7 @@ if (BLAS_FOUND)
         add_compile_definitions(GGML_BLAS_USE_NVPL)
     endif()
 
-    target_link_libraries     (ggml-blas PRIVATE ${BLAS_LIBRARIES})
-    target_include_directories(ggml-blas SYSTEM PRIVATE ${BLAS_INCLUDE_DIRS})
+    target_link_libraries(ggml-blas PRIVATE BLAS::BLAS)
 else()
     message(FATAL_ERROR "BLAS not found, please refer to "
                         "https://cmake.org/cmake/help/latest/module/FindBLAS.html#blas-lapack-vendors"
-- 
2.51.0

