Skip to content

Commit a545037

Browse files
committed
major minor patch version
1 parent 3527f47 commit a545037

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

src/pumipic_version.hpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
#pragma once
22

3+
#define PUMIPIC_VERSION_MAJOR 2
4+
#define PUMIPIC_VERSION_MINOR 1
5+
#define PUMIPIC_VERSION_PATCH 4
6+
37
namespace pumipic {
48
const char* pumipic_version() {
5-
return "3.26.3";
9+
return "2.1.4";
610
}
711
}

src/pumipic_version.hpp.in

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
#pragma once
22

3+
#define PUMIPIC_VERSION_MAJOR @CMAKE_PROJECT_VERSION_MAJOR@
4+
#define PUMIPIC_VERSION_MINOR @CMAKE_PROJECT_VERSION_MINOR@
5+
#define PUMIPIC_VERSION_PATCH @CMAKE_PROJECT_VERSION_PATCH@
6+
37
namespace pumipic {
48
const char* pumipic_version() {
5-
return "@CMAKE_VERSION@";
9+
return "@CMAKE_PROJECT_VERSION@";
610
}
711
}

0 commit comments

Comments
 (0)