]> SALOME platform Git repositories - modules/adao.git/commitdiff
Salome HOME
Installation add subdirectory doc only if the doc is built (PO)
authorJean-Philippe ARGAUD <jean-philippe.argaud@edf.fr>
Thu, 9 May 2019 07:07:37 +0000 (09:07 +0200)
committerJean-Philippe ARGAUD <jean-philippe.argaud@edf.fr>
Thu, 9 May 2019 07:07:37 +0000 (09:07 +0200)
CMakeLists.txt

index a84777585633de6449da705d9e5eee7bdf770eb3..83d5b176de09308ed3a0b9ec9785de47e10eb1df 100644 (file)
@@ -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)