1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2024-12-25 15:52:32 +01:00

Turn off git revision for windows build

This commit is contained in:
Jonas Kvinge 2018-07-04 03:10:27 +02:00
parent 55e0255fc2
commit 0fd31f3632
2 changed files with 6 additions and 2 deletions

View File

@ -5,6 +5,10 @@ set(STRAWBERRY_VERSION_PATCH 6)
set(INCLUDE_GIT_REVISION ON)
if (WIN32)
set(INCLUDE_GIT_REVISION OFF)
endif()
set(majorminorpatch "${STRAWBERRY_VERSION_MAJOR}.${STRAWBERRY_VERSION_MINOR}.${STRAWBERRY_VERSION_PATCH}")
set(STRAWBERRY_VERSION_DISPLAY "${majorminorpatch}")

View File

@ -1,7 +1,7 @@
strawberry ICON "${CMAKE_CURRENT_SOURCE_DIR}/../dist/windows/strawberry.ico"
1 VERSIONINFO
FILEVERSION ${STRAWBERRY_VERSION_MAJOR},${STRAWBERRY_VERSION_MINOR},${STRAWBERRY_VERSION_PATCH},${GIT_COMMITCOUNT}
PRODUCTVERSION ${STRAWBERRY_VERSION_MAJOR},${STRAWBERRY_VERSION_MINOR},${STRAWBERRY_VERSION_PATCH},${GIT_COMMITCOUNT}
FILEVERSION ${STRAWBERRY_VERSION_MAJOR},${STRAWBERRY_VERSION_MINOR},${STRAWBERRY_VERSION_PATCH}
PRODUCTVERSION ${STRAWBERRY_VERSION_MAJOR},${STRAWBERRY_VERSION_MINOR},${STRAWBERRY_VERSION_PATCH}
BEGIN
BLOCK "StringFileInfo"
BEGIN