Skip to content

Commit f7e0e2c

Browse files
authored
Merge pull request #6 from beercan1989/feature/upgrading-to-raylib-5
Bumped raylib to version 5.0
2 parents 321f8d9 + 3ca1a83 commit f7e0e2c

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
cmake_minimum_required(VERSION 3.11 FATAL_ERROR)
22

3-
project(retro_brick_game LANGUAGES CXX VERSION 0.0.3)
3+
project(retro_brick_game LANGUAGES CXX VERSION 0.0.4)
44
set(CMAKE_CXX_STANDARD 20)
55
set(CMAKE_CXX_STANDARD_REQUIRED ON)
66

77
##
88
# Dependencies
99
##
10-
set(RAYLIB_VERSION 4.5.0)
10+
set(RAYLIB_VERSION 5.0)
1111
find_package(raylib ${RAYLIB_VERSION} QUIET)
1212
if (NOT raylib_FOUND)
1313
include(FetchContent)

build.gradle.kts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,17 @@ android {
2525
defaultConfig {
2626
minSdk = 26
2727
targetSdk = 33
28-
versionCode = 3
29-
versionName = "0.0.3"
28+
versionCode = 4
29+
versionName = "0.0.4"
3030
externalNativeBuild {
3131
cmake {
3232
arguments += listOf("-DPLATFORM=Android")
3333
targets += listOf("retro_brick_game")
3434
}
3535
}
36+
ndk {
37+
abiFilters += listOf("x86", "x86_64", "arm64-v8a") // Excluding 'armeabi-v7a' as raylib 5.0 fails to compile
38+
}
3639
}
3740
externalNativeBuild {
3841
cmake {

0 commit comments

Comments
 (0)