From d0b37d41ef73575168a0a77cd76ee2b7a28ac464 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Wed, 21 Jul 2010 11:55:50 +0000 Subject: [PATCH] Do not try to detect LaTeX if doc is not requested. --- crlcore/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crlcore/CMakeLists.txt b/crlcore/CMakeLists.txt index 6c7322f1..ebce9b77 100644 --- a/crlcore/CMakeLists.txt +++ b/crlcore/CMakeLists.txt @@ -26,7 +26,9 @@ find_package(OPENACCESS) find_package(VLSISAPD REQUIRED) find_package(HURRICANE REQUIRED) - include(UseLATEX) + if(BUILD_DOC) + include(UseLATEX) + endif(BUILD_DOC) add_subdirectory(src) add_subdirectory(etc)