From 7a0809d1f8c901629795886533e86149bbbbdd78 Mon Sep 17 00:00:00 2001
From: Manuel Grizonnet <manuel.grizonnet@cnes.fr>
Date: Mon, 30 Jan 2017 10:22:55 +0100
Subject: [PATCH] DOC: Improve cmake error message that largeinput is mandatory
 to build the software guide

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

diff --git a/Documentation/SoftwareGuide/CMakeLists.txt b/Documentation/SoftwareGuide/CMakeLists.txt
index 8ca676e96b..7c77844ef9 100644
--- a/Documentation/SoftwareGuide/CMakeLists.txt
+++ b/Documentation/SoftwareGuide/CMakeLists.txt
@@ -62,7 +62,7 @@ FIND_PATH(OTB_DATA_ROOT README-OTB-Data PATHS $ENV{OTB_DATA_ROOT} ${OTB_SOURCE_D
 FIND_PATH(OTB_DATA_LARGEINPUT_ROOT OTBData.readme PATHS $ENV{OTB_DATA_LARGEINPUT_ROOT})
 
 IF( NOT OTB_DATA_LARGEINPUT_ROOT )
-  MESSAGE(FATAL_ERROR "Large input directory is not set")
+  MESSAGE(FATAL_ERROR "Large input directory is not set and is mandatory to build the Software Guide.")
 ENDIF( NOT OTB_DATA_LARGEINPUT_ROOT )
 
 # OTB_DATA_PATHS is searched recursively.. you need not enter sub-directories
-- 
GitLab