summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2023-04-12 01:39:07 +0200
committerAlexis Hildebrandt <afh@surryhill.net>2023-04-12 01:39:07 +0200
commit09cf6e725bda80270d27c835740ad0aa26c2ea56 (patch)
treeef40951cd1944dfa2245fcf1248f9358b383c948
parent78899a211b2f68e397e9d18b9907509558350901 (diff)
downloadfork-ledger-09cf6e725bda80270d27c835740ad0aa26c2ea56.tar.gz
fork-ledger-09cf6e725bda80270d27c835740ad0aa26c2ea56.tar.bz2
fork-ledger-09cf6e725bda80270d27c835740ad0aa26c2ea56.zip
Bump required doxygen version to 1.9.5
-rw-r--r--README.md2
-rw-r--r--doc/CMakeLists.txt7
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()