aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAhmad Fatoum <ahmad@a3f.at>2019-06-04 16:25:13 +0200
committerAhmad Fatoum <ahmad@a3f.at>2019-06-05 08:58:24 +0200
commite103320ad8fdee61273b7da1162c120625de398d (patch)
treed7fa5053e5cae0b2c3193f9d721ca6526b2a6d85
parent538dfa010d05f55a2fef46570dc5a34ebbe3d337 (diff)
downloadraylib-e103320ad8fdee61273b7da1162c120625de398d.tar.gz
raylib-e103320ad8fdee61273b7da1162c120625de398d.zip
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.
-rw-r--r--src/CMakeLists.txt2
-rw-r--r--src/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 879ac220..9e381493 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -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)
diff --git a/src/Makefile b/src/Makefile
index 9411b0e2..0f57f232 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -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 = ..