From 1517bd1a7a6809f749b493ae67482377ec850963 Mon Sep 17 00:00:00 2001 From: Jean-Philippe ARGAUD Date: Thu, 9 May 2019 09:07:37 +0200 Subject: [PATCH] Installation add subdirectory doc only if the doc is built (PO) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2