From c97e136435e61e72800baa6da37f82c5240ac642 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 24 Apr 2015 07:18:11 -0700 Subject: cmake: include the git SHA in the Windows installer name Signed-off-by: Dirk Hohndel --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 06fd5099b..bc7250136 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 ) -- cgit v1.2.3-70-g09d2