summaryrefslogtreecommitdiff
path: root/src/cmake
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2022-05-24 10:34:43 +0200
committeralbert-github <albert.tests@gmail.com>2022-05-24 10:34:43 +0200
commit91b21f6cfdf8e225070514c34bd6fcae296e3d52 (patch)
treefa976cd6cae04130a7e5c4b30d2df80ab7126129 /src/cmake
parent7e2fb7b6f5c9664e377a3211cb60aebec14e4d6e (diff)
Documentation: Obsolete CLASS_DIARAMS
Since doxygen version 1.9.3 the settings `CLASS_DIAGRAMS` and `CLASS_GRAPH` have been integrated into `CLASS_GRAPH` and `CLASS_DIAGRAMS` is now obsolete. The value of `CLASS+GRAPH` doesn't have to be adjusted, in this case, as it was already set to `NO`.
Diffstat (limited to 'src/cmake')
-rw-r--r--src/cmake/modules/GUDHI_doxygen_target.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cmake/modules/GUDHI_doxygen_target.cmake b/src/cmake/modules/GUDHI_doxygen_target.cmake
index 0f80b187..e8064466 100644
--- a/src/cmake/modules/GUDHI_doxygen_target.cmake
+++ b/src/cmake/modules/GUDHI_doxygen_target.cmake
@@ -44,6 +44,12 @@ if(DOXYGEN_FOUND)
set(GUDHI_DOXYGEN_UTILS_PATH "utilities/*")
endif()
+ if (DOXYGEN_VERSION VERSION_LESS 1.9.3)
+ set(GUDHI_DOXYGEN_CLASS_DIAGRAMS "CLASS_DIAGRAMS = NO")
+ else()
+ set(GUDHI_DOXYGEN_CLASS_DIAGRAMS "")
+ endif()
+
configure_file(${GUDHI_DOXYGEN_SOURCE_PREFIX}/Doxyfile.in "${CMAKE_CURRENT_BINARY_DIR}/Doxyfile" @ONLY)
add_custom_target(doxygen ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile