From aa65fd43785cfbc049bf8cba3375851f7d1db29a Mon Sep 17 00:00:00 2001
From: Stefan Wunsch <stefan.wunsch@student.kit.edu>
Date: Mon, 21 Nov 2016 09:37:45 +0100
Subject: [PATCH] cmake: Remove `QUIET` flag of BLAS `find_package` call and
 search only if `imt` is activated

---
 cmake/modules/SearchInstalledSoftware.cmake | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmake/modules/SearchInstalledSoftware.cmake b/cmake/modules/SearchInstalledSoftware.cmake
index be4d483d1c5..99729a3b682 100644
--- a/cmake/modules/SearchInstalledSoftware.cmake
+++ b/cmake/modules/SearchInstalledSoftware.cmake
@@ -1309,9 +1309,9 @@ if(tmva AND cuda)
   endif()
 endif()
 
-if(tmva)
+if(tmva AND imt)
   message(STATUS "Looking for BLAS for optional parts of TMVA")
-  find_package(BLAS QUIET)
+  find_package(BLAS)
 endif()
 
 #---Report non implemented options---------------------------------------------------
-- 
GitLab