Re Enable SWDEV-521313 Streamline Version Management (#10)
Revert "Revert "SWDEV-521313 - Streamline Version Management: Retain Only version-roc…""
This reverts commit 39bd62e592.
This commit is contained in:
committed by
GitHub
parent
0578cf70ef
commit
de37842d6a
+2
-2
@@ -142,9 +142,9 @@ endif()
|
||||
|
||||
#Add the libpatch version if available to the version file
|
||||
if( DEFINED VERSION_POINT )
|
||||
file ( WRITE "${CMAKE_CURRENT_BINARY_DIR}/version" "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}.${VERSION_POINT}-${BUILD_ID}\n" )
|
||||
file ( WRITE "${CMAKE_CURRENT_BINARY_DIR}/version" "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}.${VERSION_POINT}\n" )
|
||||
else()
|
||||
file ( WRITE "${CMAKE_CURRENT_BINARY_DIR}/version" "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}-${BUILD_ID}\n" )
|
||||
file ( WRITE "${CMAKE_CURRENT_BINARY_DIR}/version" "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}\n" )
|
||||
endif()
|
||||
|
||||
## Support for Static and Shared Target Packaging
|
||||
|
||||
Reference in New Issue
Block a user