summaryrefslogtreecommitdiff
path: root/doc/CMakeLists.txt
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 /doc/CMakeLists.txt
parent78899a211b2f68e397e9d18b9907509558350901 (diff)
downloadfork-ledger-09cf6e725bda80270d27c835740ad0aa26c2ea56.tar.gz
fork-ledger-09cf6e725bda80270d27c835740ad0aa26c2ea56.tar.bz2
fork-ledger-09cf6e725bda80270d27c835740ad0aa26c2ea56.zip
Bump required doxygen version to 1.9.5
Diffstat (limited to 'doc/CMakeLists.txt')
-rw-r--r--doc/CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
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()