Merge 40920f3ec35a37c41c9236bdc943c2d88ca1527b into 12ef984e9316f3480780f21a9572ed6ef773764e

This commit is contained in:
Kirill A. Korinsky 2025-03-29 22:50:15 +00:00 committed by GitHub
commit 07260b12a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,7 +39,7 @@ string(REGEX REPLACE "^v[0-9]+\\.[0-9]+\\.[0-9]+\\-[0-9]+\\-([0-9a-z]+).*" "\\1"
set(NETGEN_VERSION_SHORT ${NETGEN_VERSION_MAJOR}.${NETGEN_VERSION_MINOR}.${NETGEN_VERSION_PATCH})
set(NETGEN_VERSION_LONG ${NETGEN_VERSION_SHORT}-${NETGEN_VERSION_TWEAK}-${NETGEN_VERSION_HASH})
if(NETGEN_VERSION_TWEAK)
if(NETGEN_VERSION_TWEAK AND NOT NETGEN_VERSION_TWEAK STREQUAL git_version_string)
# no release version - nightly build
set(NETGEN_VERSION ${NETGEN_VERSION_LONG})
else()