mirror of
https://github.com/EttusResearch/uhd.git
synced 2026-10-25 17:36:10 +00:00
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.
This commit is contained in:
parent
b1a00f232e
commit
43875c9f25
@ -99,7 +99,7 @@ if(${CPACK_GENERATOR} STREQUAL NSIS)
|
||||
# note CPACK_PACKAGE_VERSION_PATCH may have another meaning for NSIS based installers
|
||||
# has been defaulting to '1'
|
||||
if(UHD_RELEASE_MODE)
|
||||
set(CPACK_PACKAGE_VERSION2_PATCH "${UHD_VERSION_ABI}.${UHD_VERSION_PATCH}")
|
||||
set(CPACK_PACKAGE_VERSION2_PATCH "${UHD_VERSION_ABI}.${UHD_VERSION_PATCH_ORIG}")
|
||||
else()
|
||||
set(CPACK_PACKAGE_VERSION2_PATCH "${UHD_VERSION_ABI}.9999")
|
||||
endif(UHD_RELEASE_MODE)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user