ggml-blas: hide warnings from included BLAS headers (#18818)
* fix compile def openblas, blis for compat libs, nvpl compile def, warn if no blas vendor set * ggml-blas: hide warnings from included BLAS headers
This commit is contained in:
@@ -93,7 +93,7 @@ if (BLAS_FOUND)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_link_libraries (ggml-blas PRIVATE ${BLAS_LIBRARIES})
|
target_link_libraries (ggml-blas PRIVATE ${BLAS_LIBRARIES})
|
||||||
target_include_directories(ggml-blas PRIVATE ${BLAS_INCLUDE_DIRS})
|
target_include_directories(ggml-blas SYSTEM PRIVATE ${BLAS_INCLUDE_DIRS})
|
||||||
else()
|
else()
|
||||||
message(FATAL_ERROR "BLAS not found, please refer to "
|
message(FATAL_ERROR "BLAS not found, please refer to "
|
||||||
"https://cmake.org/cmake/help/latest/module/FindBLAS.html#blas-lapack-vendors"
|
"https://cmake.org/cmake/help/latest/module/FindBLAS.html#blas-lapack-vendors"
|
||||||
|
|||||||
Reference in New Issue
Block a user