Fix make for non-git source
@@ -261,6 +261,10 @@ set( HSE_MAJORMINORPATCH ${HSE_VERSION_MAJOR}.${HSE_VERSION_MINOR}.${HSE_VERSION
set( HSE_RELEASE
${HSE_BUILD_TYPE_FLAG}${BUILD_NUMBER}.\${HSE_DATESTAMP}.\${HSE_SHA}\${HSE_DIRTYTAG} )
+if( NOT HSE_SHA )
+set( HSE_RELEASE
+ ${HSE_BUILD_TYPE_FLAG}${BUILD_NUMBER}.\${HSE_DATESTAMP}\${HSE_DIRTYTAG} )
+endif()
set( HSE_VERSION \${HSE_MAJORMINORPATCH} )
set( HSE_VERSION_RELEASE \${HSE_MAJORMINORPATCH}-\${HSE_RELEASE} )
