diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index a49e1f36ac47b35b13e55559e99779fd449da4a1..ea1705f6a28f18ea0ea25ce9d3ea2b8ff85c079f 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -46,7 +46,7 @@ foreach(exec ${source_tests_files})
 	# Test Blas dependency
 	file(STRINGS "${exec}" lines_blas REGEX "@FUSE_BLAS")
 	if(lines_blas)
-		if( NOT SCALFMM_USE_CBLAS )
+		if( NOT SCALFMM_USE_BLAS )
 			MESSAGE( STATUS "This needs BLAS = ${exec}" )
 			set(compile_exec "FALSE")
 		endif()