mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
cmake: include the git SHA in the Windows installer name
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
79bb61dba1
commit
c97e136435
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ file(WRITE ${CMAKE_BINARY_DIR}/version.cmake "
|
|||
if(CMAKE_SYSTEM_NAME STREQUAL \"Windows\")
|
||||
execute_process(
|
||||
COMMAND cat ${CMAKE_SOURCE_DIR}/packaging/windows/subsurface.nsi.in
|
||||
COMMAND sed -e \"s/VERSIONTOKEN/\${VERSION_STRING}/\"
|
||||
COMMAND sed -e \"s/VERSIONTOKEN/\${GIT_VERSION_STRING}/\"
|
||||
COMMAND sed -e \"s/PRODVTOKEN/\${CANONICAL_VERSION_STRING}/\"
|
||||
OUTPUT_FILE ${CMAKE_BINARY_DIR}/staging/subsurface.nsi
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue