blob: e23ca37325c8f03039d56e7d88472b21f2c91e09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
commit e0a10390fbfba82ba0d94ba27fc76f135b5746a4
Author: Stefan Petersen <spe@ciellt.se>
Date: Tue Mar 24 18:27:49 2026 +0100
Add release version in CMakeLists.txt
To fallback on when git is missing in the source tree. I will also
add checks in the release build when to verify that the release
tag is the same as the version in the CMakeLists.txt.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c15885c..f203214 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,7 +1,11 @@
cmake_minimum_required(VERSION 3.28)
+# Update the release version here for when the code is built out
+# of tree. It is not optimal, but that how it is. There is a check
+# in the release build to make sure this version and the tag have
+# the same version.
project(gerbv
- VERSION 4.0
+ VERSION 2.13.0
DESCRIPTION "Gerber Viewer"
LANGUAGES C CXX)
|