build: increment API_VERSION after release

With v2.5.0 out, increment API_VERSION, so binaries dynamically linked
against the released raylib aren't accidentally paired with a development
or later released raylib that may be incompatible.
This commit is contained in:
Ahmad Fatoum 2019-06-04 16:25:13 +02:00
parent 538dfa010d
commit e103320ad8
No known key found for this signature in database
GPG Key ID: C3EAC3DE9321D59B
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ include(GNUInstallDirs)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../cmake")
set(PROJECT_VERSION 2.5.0)
set(API_VERSION 2)
set(API_VERSION 251)
include("CMakeOptions.txt")
include(BuildType)

View File

@ -43,7 +43,7 @@
# Define required raylib variables
RAYLIB_VERSION = 2.5.0
RAYLIB_API_VERSION = 2
RAYLIB_API_VERSION = 251
# See below for alternatives.
RAYLIB_PATH = ..