Browse Source

FindBLAS: Quiet pkg-config errors

Issue: #23314
nega 3 years ago
parent
commit
6dab35e25d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Modules/FindBLAS.cmake

+ 2 - 2
Modules/FindBLAS.cmake

@@ -273,8 +273,8 @@ endif()
 include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
 
 if(BLA_PREFER_PKGCONFIG)
-  find_package(PkgConfig)
-  pkg_check_modules(PKGC_BLAS blas)
+  find_package(PkgConfig QUIET)
+  pkg_check_modules(PKGC_BLAS QUIET blas)
   if(PKGC_BLAS_FOUND)
     set(BLAS_FOUND ${PKGC_BLAS_FOUND})
     set(BLAS_LIBRARIES "${PKGC_BLAS_LINK_LIBRARIES}")