Skip to content

Conversation

@kbenzie
Copy link
Contributor

@kbenzie kbenzie commented Aug 15, 2024

Description

When building as a subproject the CMAKE_PROJECT_VERSION is the root project version not the current project version. As such, in a subproject which makes use of UMF, such as UR, the .so or .dll library version would be set to the UR project version, not the UMF version.

This patch fixes this erroneous versioning by using PROJECT_VERSION (and derivatives) in place of CMAKE_PROJECT_VERSION.

Checklist

  • Code compiles without errors locally
  • All tests pass locally
  • CI workflows execute properly

@kbenzie kbenzie requested a review from a team as a code owner August 15, 2024 14:32
When building as a subproject the `CMAKE_PROJECT_VERSION` is the root
project version not the current project version. As such, in a
subproject which makes use of UMF, such as UR, the `.so` or `.dll`
library version would be set to the UR project version, not the UMF
version.

This patch fixes this erroneous versioning by using `PROJECT_VERSION`
(and derivatives) in place of `CMAKE_PROJECT_VERSION`.
@kbenzie kbenzie force-pushed the benie/use-project-version branch from 76ff417 to 5333734 Compare August 15, 2024 14:39
@igchor igchor added the v0.9.x label Aug 15, 2024
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.

4 participants