Skip to content

Commit 43875c9

Browse files
fdietze-nijoergho
authored andcommitted
host: cmake: fix patch version used for packaging
When called from a branch the patch version contained letters which cmake is not able to process. This change set it to numbers.
1 parent b1a00f2 commit 43875c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

host/cmake/Modules/UHDPackage.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ if(${CPACK_GENERATOR} STREQUAL NSIS)
9999
# note CPACK_PACKAGE_VERSION_PATCH may have another meaning for NSIS based installers
100100
# has been defaulting to '1'
101101
if(UHD_RELEASE_MODE)
102-
set(CPACK_PACKAGE_VERSION2_PATCH "${UHD_VERSION_ABI}.${UHD_VERSION_PATCH}")
102+
set(CPACK_PACKAGE_VERSION2_PATCH "${UHD_VERSION_ABI}.${UHD_VERSION_PATCH_ORIG}")
103103
else()
104104
set(CPACK_PACKAGE_VERSION2_PATCH "${UHD_VERSION_ABI}.9999")
105105
endif(UHD_RELEASE_MODE)

0 commit comments

Comments
 (0)