From 65275d4073570ea8de2182e8aab8edfe2dd82378 Mon Sep 17 00:00:00 2001
From: Carl Philipp Klemm <philipp@uvos.xyz>
Date: Tue, 18 Jun 2024 11:04:15 +0200
Subject: [PATCH] Doc: set the version from cmake

---
 doc/libeisgenerator.doxygen.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/libeisgenerator.doxygen.in b/doc/libeisgenerator.doxygen.in
index 77cf22b..859f395 100644
--- a/doc/libeisgenerator.doxygen.in
+++ b/doc/libeisgenerator.doxygen.in
@@ -38,7 +38,7 @@ PROJECT_NAME           = @PROJECT_NAME@
 # could be handy for archiving the generated documentation or if some version
 # control system is used.
 
-PROJECT_NUMBER         = 1.0.x
+PROJECT_NUMBER         = @CMAKE_PROJECT_VERSION_MAJOR@.@CMAKE_PROJECT_VERSION_MINOR@.x
 
 # Using the PROJECT_BRIEF tag one can provide an optional one line description
 # for a project that appears at the top of each page and should give viewer a
-- 
GitLab