From e103320ad8fdee61273b7da1162c120625de398d Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Tue, 4 Jun 2019 16:25:13 +0200 Subject: [PATCH] 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. --- src/CMakeLists.txt | 2 +- src/Makefile | 2 +- 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 = ..