Fixed upstream in https://github.com/simutrans/simutrans/commit/81d5165874303edcdbe81ba07df1fea8d5e03f4b

Remove this patch with next update
--- CMakeLists.txt.orig	2025-01-11 14:40:58 UTC
+++ CMakeLists.txt
@@ -95,6 +95,9 @@ if (${SIMUTRANS_USE_REVISION})
 if (${SIMUTRANS_USE_REVISION})
 	file(WRITE ${CMAKE_CURRENT_SOURCE_DIR}/src/simutrans/revision.h "#define REVISION ${SIMUTRANS_USE_REVISION}\n")
 	message(STATUS "Compiling Simutrans with manually specified revision ${SIMUTRANS_USE_REVISION}")
+	set(SIMUTRANS_WC_REVISION ${SIMUTRANS_USE_REVISION})
+	set(SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
+	include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/SimutransRevision.cmake)
 else ()
 	string(FIND ${CMAKE_GENERATOR} "Visual Studio" VS )
 	if (${VS} EQUAL 0)
