Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake: Correctly set the soversion based on SemVer properties #4319

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

Conan-Kudo
Copy link
Contributor

As this project follows Semantic Versioning, the shared object version should match these semantics.

The two options that make sense here are to have the soversion set to the version major (so only breaking changes are tracked) or to set to version major and minor (so breaking and API additions are tracked).

Since the Windows version of the library already uses version major and version minor, let's just do this universally.

Fixes: 832926f ("Update library version handling for cmake")

As this project follows Semantic Versioning, the shared object
version should match these semantics.

The two options that make sense here are to have the soversion
set to the version major (so only breaking changes are tracked)
or to set to version major and minor (so breaking and API additions
are tracked).

Since the Windows version of the library already uses version major
and version minor, let's just do this universally.

Fixes: 832926f ("Update library version handling for cmake")

Signed-off-by: Neal Gompa <neal@gompa.dev>
@zdenop zdenop merged commit 900c721 into tesseract-ocr:main Sep 19, 2024
1 check passed
@zdenop
Copy link
Contributor

zdenop commented Sep 19, 2024

thanks.

@Conan-Kudo Conan-Kudo deleted the fix-soversion branch September 19, 2024 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants