1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-18 12:09:10 +00:00

Fix: [CMake] Auto-fill version details in rev.cpp and ottres.rc (#9066)

This commit is contained in:
Loïc Guilloux
2021-04-20 21:38:46 +02:00
committed by GitHub
parent fe3cd185d7
commit d4f0b6f434
4 changed files with 19 additions and 4 deletions

View File

@@ -1,5 +1,15 @@
cmake_minimum_required(VERSION 3.5)
if(NOT REV_MAJOR)
set(REV_MAJOR 0)
endif()
if(NOT REV_MINOR)
set(REV_MINOR 0)
endif()
if(NOT REV_BUILD)
set(REV_BUILD 0)
endif()
#
# Finds the current version of the current folder.
#