summaryrefslogtreecommitdiff
path: root/src/os
diff options
context:
space:
mode:
authorLoïc Guilloux <glx22@users.noreply.github.com>2021-04-20 21:38:46 +0200
committerGitHub <noreply@github.com>2021-04-20 21:38:46 +0200
commitd4f0b6f434911840e2762f89ca0de460f38133f9 (patch)
tree2cedadbe1e0a9ad7d8f9b1d0004dac4feb1f16a0 /src/os
parentfe3cd185d7a00d116e0ff06d24b3ac369b297a0e (diff)
downloadopenttd-d4f0b6f434911840e2762f89ca0de460f38133f9.tar.xz
Fix: [CMake] Auto-fill version details in rev.cpp and ottres.rc (#9066)
Diffstat (limited to 'src/os')
-rw-r--r--src/os/windows/ottdres.rc.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os/windows/ottdres.rc.in b/src/os/windows/ottdres.rc.in
index 741fa0e10..31309382c 100644
--- a/src/os/windows/ottdres.rc.in
+++ b/src/os/windows/ottdres.rc.in
@@ -77,8 +77,8 @@ END
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 1,11,0,${REV_ISODATE}
- PRODUCTVERSION 1,11,0,${REV_ISODATE}
+ FILEVERSION ${REV_MAJOR},${REV_MINOR},${REV_BUILD},${REV_ISODATE}
+ PRODUCTVERSION ${REV_MAJOR},${REV_MINOR},${REV_BUILD},${REV_ISODATE}
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L