From ce39fdcd941cee2e02f11b56665d7c4cf61a17d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timoth=C3=A9e=20Couble?= <timothee.couble@kitware.com>
Date: Thu, 27 Mar 2025 17:01:13 +0100
Subject: [PATCH] [fix] Use only tag version to determine LidarView version

This impact the way settings are handled, they will not be reset
for each commit.
---
 Application/Client/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Application/Client/CMakeLists.txt b/Application/Client/CMakeLists.txt
index 82d39c29f..3c8533af5 100644
--- a/Application/Client/CMakeLists.txt
+++ b/Application/Client/CMakeLists.txt
@@ -51,7 +51,7 @@ paraview_client_add(
   NAME              ${SOFTWARE_NAME}
   NAMESPACE         "${SOFTWARE_NAME}"
   EXPORT            "LidarViewClient"
-  VERSION           ${LIDARVIEW_VERSION_FULL}
+  VERSION           "${LIDARVIEW_VERSION_MAJOR}.${LIDARVIEW_VERSION_MINOR}.${LIDARVIEW_VERSION_PATCH}"
   APPLICATION_NAME  "${SOFTWARE_NAME}"
   ORGANIZATION      "${SOFTWARE_VENDOR}"
   TITLE             "${SOFTWARE_NAME} ${LIDARVIEW_VERSION_FULL}"
-- 
GitLab