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:
parent
55e0255fc2
commit
0fd31f3632
@ -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}")
|
||||
|
4
dist/windows/windres.rc.in
vendored
4
dist/windows/windres.rc.in
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user