Skip to content

Version is reported incorrectly #23

Description

@jolaf

Version: 2026.4.0
OS: macOS Tahoe 26.4.1
CMake: 4.3.2
Compiler: AppleClang 21.0.0.21000099

I'm building my C++/CMake project together with cryptopp-modern, after in-place replacement of cryptopp and cryptopp-cmake 8.9.0.

While building, CMake reports:

-- => Project : cryptopp-modern v2025.12.0

This is probably caused by CMakeLists.txt, lines 34-36:

set(META_VERSION_MAJOR "2025")
set(META_VERSION_MINOR "12")
set(META_VERSION_PATCH "0")

Also after building:

$ ./cryptest.exe V
2026.3.0

This is probably caused by config_ver.h, lines 31, 39, 47, 61:

#define CRYPTOPP_MAJOR 2026
#define CRYPTOPP_MINOR 3
#define CRYPTOPP_REVISION 0
#define CRYPTOPP_VERSION 20260300

Both these things can be easily patched manually, but I suppose they should be patched automatically during release process.

These are not huge problems, but they cause worrying whether I'm building and using the right version.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions