Skip to content

Commit

Permalink
cmake: releases have a REVISION.txt instead of VERSION.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
madebr committed Nov 4, 2024
1 parent 4fc47a7 commit 9eca707
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 9eca707

Please sign in to comment.