From: Jean-Philippe ARGAUD Date: Thu, 9 May 2019 07:07:37 +0000 (+0200) Subject: Installation add subdirectory doc only if the doc is built (PO) X-Git-Tag: V9_4_0b1~21 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1517bd1a7a6809f749b493ae67482377ec850963;p=modules%2Fadao.git Installation add subdirectory doc only if the doc is built (PO) --- diff --git a/CMakeLists.txt b/CMakeLists.txt index a847775..83d5b17 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -63,13 +63,13 @@ if(ADAO_PYTHON_MODULE) if(NOT SPHINX_FOUND) message(FATAL_ERROR "Sphinx has not been found !") endif(NOT SPHINX_FOUND) + add_subdirectory(doc) endif(ADAO_BUILD_DOC) add_subdirectory(src) add_subdirectory(resources) add_subdirectory(bin) add_subdirectory(i18n) - add_subdirectory(doc) add_subdirectory(test) else(ADAO_PYTHON_MODULE)