From 88bbf966014ccfc52fe66933aba14d1072823a03 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Christoph=20Gr=C3=BCninger?= <gruenich@dune-project.org>
Date: Tue, 7 Jul 2015 06:42:38 +0200
Subject: [PATCH] [CMake,LaTeX] Revert "Allow to disable latex."

Commit 4878943ffc0dd4572de224fdce5dc5ec8ab206d9 actuall did change
the default behavior, it effectifly disabled LaTex for some users.
To disable LaTeX pass -DCMAKE_DISABLE_FIND_PACKAGE_LATEX=TRUE
---
 cmake/modules/DuneDoc.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/modules/DuneDoc.cmake b/cmake/modules/DuneDoc.cmake
index 479441739..200f8f812 100644
--- a/cmake/modules/DuneDoc.cmake
+++ b/cmake/modules/DuneDoc.cmake
@@ -21,7 +21,7 @@ FIND_PACKAGE(LATEX)
 FIND_PROGRAM(IMAGEMAGICK_CONVERT convert
   DOC "The convert program that comes with ImageMagick (available at http://www.imagemagick.org)."
   )
-option(LATEX_USABLE "ON")
+set(LATEX_USABLE "ON")
 
 if(NOT LATEX_COMPILER)
   message(WARNING " Need latex to create documentation!")
-- 
GitLab