Skip to content

Commit

Permalink
fix: debian_version for official releases
Browse files Browse the repository at this point in the history
otherwise they would be undefined
  • Loading branch information
diogomatsubara committed Oct 21, 2024
1 parent 45fcb32 commit 8a4d19c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ configure_file(

set(project_version "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")
if(NOT DEFINED PROJECT_VERSION_TWEAK)
set(debian_version "${project_version}")
set(project_version "${project_version}")
elseif(PROJECT_VERSION_TWEAK EQUAL 0)
set(debian_version "${project_version}~dev-1")
Expand Down

0 comments on commit 8a4d19c

Please sign in to comment.