From e52a2474f1d2fa94d5b23a7a2b4cc0cbcd14c211 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 1 May 2024 09:33:30 -0700 Subject: [PATCH] Fixed updating CMakeLists.txt with update-version.sh --- build-scripts/update-version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-scripts/update-version.sh b/build-scripts/update-version.sh index 395aa62b25..dd64761806 100755 --- a/build-scripts/update-version.sh +++ b/build-scripts/update-version.sh @@ -54,7 +54,7 @@ if [ "x$PATCH" != "x0" ]; then fi fi -perl -w -pi -e 's/\A(project\(SDL[0-9]+ LANGUAGES C CXX VERSION ")[0-9.]+/${1}'$NEWVERSION'/;' CMakeLists.txt +perl -w -pi -e 's/\A(project\(SDL[0-9]+ LANGUAGES C VERSION ")[0-9.]+/${1}'$NEWVERSION'/;' CMakeLists.txt perl -w -pi -e 's/\A(.* SDL_MAJOR_VERSION = )\d+/${1}'$MAJOR'/;' android-project/app/src/main/java/org/libsdl/app/SDLActivity.java perl -w -pi -e 's/\A(.* SDL_MINOR_VERSION = )\d+/${1}'$MINOR'/;' android-project/app/src/main/java/org/libsdl/app/SDLActivity.java