From 9eca707549140263a11c490b00a9e4e1c8992e0d Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Mon, 4 Nov 2024 19:20:23 +0100
Subject: [PATCH] cmake: releases have a REVISION.txt instead of VERSION.txt
---
CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bfc000c2902c6..0e4c1e1d973a6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3053,8 +3053,8 @@ endif()
# Compat helpers for the configuration files
-if(EXISTS "${PROJECT_SOURCE_DIR}/VERSION.txt")
- file(READ "${PROJECT_SOURCE_DIR}/VERSION.txt" SDL_SOURCE_VERSION)
+if(EXISTS "${PROJECT_SOURCE_DIR}/REVISION.txt")
+ file(READ "${PROJECT_SOURCE_DIR}/REVISION.txt" SDL_SOURCE_VERSION)
string(STRIP "${SDL_SOURCE_VERSION}" SDL_SOURCE_VERSION)
endif()