diff --git a/cmake/modules/SearchInstalledSoftware.cmake b/cmake/modules/SearchInstalledSoftware.cmake
index be4d483d1c5304da9df4521e48a5e534d8f21be2..99729a3b682da7b4e203f66245507df321d227c2 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---------------------------------------------------