Do not try to install the doc when not generated.

This commit is contained in:
Jean-Paul Chaput 2023-08-04 15:37:08 +02:00
parent 6f36a977d7
commit 826bc0dd2e
4 changed files with 12 additions and 4 deletions

View File

@ -42,4 +42,6 @@
add_subdirectory(src)
add_subdirectory(python)
add_subdirectory(cmake_modules)
if (BUILD_DOC)
add_subdirectory(doc)
endif()

View File

@ -34,7 +34,9 @@
add_subdirectory(src)
add_subdirectory(cmake_modules)
if (BUILD_DOC)
add_subdirectory(doc)
endif()
#add_subdirectory(tests)
#enable_testing()

View File

@ -29,4 +29,6 @@
add_subdirectory(python)
#add_subdirectory(etc)
#add_subdirectory(cmake_modules)
if (BUILD_DOC)
add_subdirectory(doc)
endif()

View File

@ -54,4 +54,6 @@
add_subdirectory(src)
add_subdirectory(python)
add_subdirectory(cmake_modules)
if (BUILD_DOC)
add_subdirectory(doc)
endif()