Do not try to detect LaTeX if doc is not requested.

This commit is contained in:
Jean-Paul Chaput 2010-07-21 11:55:50 +00:00
parent 308f3b7a97
commit d0b37d41ef
1 changed files with 3 additions and 1 deletions

View File

@ -26,7 +26,9 @@
find_package(OPENACCESS) find_package(OPENACCESS)
find_package(VLSISAPD REQUIRED) find_package(VLSISAPD REQUIRED)
find_package(HURRICANE REQUIRED) find_package(HURRICANE REQUIRED)
if(BUILD_DOC)
include(UseLATEX) include(UseLATEX)
endif(BUILD_DOC)
add_subdirectory(src) add_subdirectory(src)
add_subdirectory(etc) add_subdirectory(etc)