Skip to content

Commit 969984d

Browse files
committed
build: increment API_VERSION after release
With v2.5.0 out, increment API_VERSION, so binaries linked against the released raylib aren't accidentally paired with a development or later released raylib that may be incompatible.
1 parent 538dfa0 commit 969984d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ include(GNUInstallDirs)
44
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../cmake")
55

66
set(PROJECT_VERSION 2.5.0)
7-
set(API_VERSION 2)
7+
set(API_VERSION 3)
88

99
include("CMakeOptions.txt")
1010
include(BuildType)

src/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
# Define required raylib variables
4545
RAYLIB_VERSION = 2.5.0
46-
RAYLIB_API_VERSION = 2
46+
RAYLIB_API_VERSION = 3
4747

4848
# See below for alternatives.
4949
RAYLIB_PATH = ..

0 commit comments

Comments
 (0)