From c82d9e1bc59a8044e93c7c1ad16e4a3225f0e24d Mon Sep 17 00:00:00 2001
From: jvallve <jvallve@iri.upc.edu>
Date: Mon, 26 Jun 2017 11:48:36 +0200
Subject: [PATCH] SUITESPARSE is required by CERES to be efficient

---
 src/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 25ca81eeb..4bebb8f68 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
-- 
GitLab