diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 25ca81eeb1e4ed05fdca7a58bdaf29bf74f23d91..4bebb8f68782323b16fd1da5aeabb4be85af0436 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -83,7 +83,7 @@ IF(Suitesparse_INCLUDE_DIRS)
    MESSAGE("Suitesparse FOUND: wolf_solver will be built.")
 ELSE (Suitesparse_INCLUDE_DIRS)
    SET(Suitesparse_FOUND FALSE)
-   MESSAGE("Suitesparse NOT FOUND: wolf_solver won't be built.")
+   MESSAGE(FATAL_ERROR "Suitesparse NOT FOUND")
 ENDIF (Suitesparse_INCLUDE_DIRS)
 
 # Define the directory where will be the configured config.h