From 09cf6e725bda80270d27c835740ad0aa26c2ea56 Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Wed, 12 Apr 2023 01:39:07 +0200 Subject: Bump required doxygen version to 1.9.5 --- README.md | 2 +- doc/CMakeLists.txt | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f2ddb666..9107b3f8 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ Dependency | Version (or greater) [libedit] | 20090111-3.0 _optional_ [Python] | 3.9 _optional_ [Gpgmepp] | 1.13.1 _optional_ -[doxygen] | 1.5.7.1 _optional_, for `make docs` +[doxygen] | 1.9.5 _optional_, for `make docs` [graphviz] | 2.20.3 _optional_, for `make docs` [texinfo] | 4.13 _optional_, for `make docs` [lcov] | 1.6 _optional_, for `make report`, used with `./acprep gcov` diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 4fcdeb9b..3b88121b 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -5,7 +5,10 @@ ######################################################################## -cmake_minimum_required(VERSION 3.16.2) +set(Required_CMake_Version 3.16.2) +set(Required_Doxygen_Version 1.9.5) + +cmake_minimum_required(VERSION ${Required_CMake_Version}) project(ledger NONE) @@ -23,7 +26,7 @@ configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/version.texi) if (USE_DOXYGEN) - find_package(Doxygen) + find_package(Doxygen ${Required_Doxygen_Version}) if (NOT DOXYGEN_FOUND) message(FATAL_ERROR "Could not find doxygen. Reference documentation cannot be built.") endif() -- cgit v1.2.3